elizabeths Posted November 12, 2003 Posted November 12, 2003 Can you add events code for code generated control? eg. - If I do : dim textboxName as textbox textboxName = new system.form.textbox Can I add a text changed event code for this textbox? Thanks in advance, Liz Quote
*Experts* mutant Posted November 12, 2003 *Experts* Posted November 12, 2003 Yes, using the AddHandler keyword. For that you also need to have a method that will accept arguments required by the event. AddHandler object.Event, AddressOf methodthatwillhandleevent Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.