I’m trying to catch some ActiveTextControl events while editing a ListBox cell, like SelectionChanged, TextChanged or MouseDown using AddHandler at instance opening, like this:
AddHandler me.ActiveTextControl.MouseDown, AddressOf MouseDownHandler
The handler method MouseDownHandler has been defined this way:
Private MouseDownHandler(sender as DesktopTextControl, x as integer, y as integer) as boolean
(some code here)
This complies well, but the MouseDown event is not dispatched to handler method.
Additionally SelectionChanged and TextChanged events can’t be declared at all using the AddHandler, as the compiler says “DesktopTextControl does not have an event named SelectionChange”
Am I doing something not permitted ?