User (Old forums)MemberMarch 22, 2005 at 6:52 amPost count: 23064
Most events arent working at all, like
Please tell me whats the point of using something a bit more colorful but provide totally no functions ?
Imported from legacy forums. Posted by narf03 (had 4580 views)Xceed SupportMemberMarch 22, 2005 at 8:39 amPost count: 5658
The WinTextBox control is a container control which contains an inner textbox. All of the inner textbox’s properties and events are accessed via the WinTextBox control’s TextBoxArea.
I hope this clears things up!
Imported from legacy forums. Posted by Jenny [Xceed] (had 190 views)User (Old forums)MemberMarch 22, 2005 at 11:15 amPost 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
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)Xceed SupportMemberMarch 22, 2005 at 2:11 pmPost count: 5658
The TextBoxArea is created internally by the WinTextBox control and the “new” does not appear in the persisted code so you can’t add the missing “WithEvents” that VB requires to indicate that a control supports events and thus can’t use the traditional “Handles” keyword.
Are you encountering any issues when handling events using the AddHandler/Addressof keywords rather than Handles?
Imported from legacy forums. Posted by Jenny [Xceed] (had 178 views)User (Old forums)MemberMarch 5, 2006 at 11:58 pmPost count: 23064
can you give us an example on how to do that in wintext box
Give more example code
Imported from legacy forums. Posted by archie (had 303 views)
- You must be logged in to reply to this topic.