Home Forums WinForms controls Other WinForms controls WinTextBox’s Events Reply To: WinTextBox’s Events

User (Old forums)
Member
Post count: 23064

Thanks for replying, and sorry for the misunderstanding.
Btw I did it this way, adding this line above the control was added to the form

AddHandler WinTextBox.TextBoxArea.TextChanged, AddressOf WinTextBox_TextChanged

Are there any way performing it using ‘traditional way’ ? Like editing the

Private sub abc(sender as object, e as eventargs) Handles WinTextBox.TextChanged

to

Private sub abc(sender as object, e as eventargs) Handles WinTextBox.TextBoxArea.TextChanged

which the last one gives me error(‘Handles’ must specify a ‘WithEvents’ variable or ‘MyBase’ qualified with a single identifier.)

Thanks in advance.

Imported from legacy forums. Posted by narf03 (had 373 views)