Link to home
Start Free TrialLog in
Avatar of ba272
ba272

asked on

Responding to a listBox double-click

I assume I'm just overlooking something obvious.  I'd like to override the event which fires as a result of the user double-clicking on an item in a listbox.

Thanks for the help.

ASKER CERTIFIED SOLUTION
Avatar of Mohammed Nasman
Mohammed Nasman
Flag of Palestine, State of image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Chester_M_Ragel
Chester_M_Ragel

As mnasman said, If you want to override a methord in a class which is virtual, then you must drive a class from that and override that method. The purpose of this is in this concept is that, if you are going to develop a custom control or something you can do that. There are lot of examples on the web for custom listbox controls. If you weant more information, let me know.

Chester.
Avatar of ba272

ASKER

Thanks Chester,

But it turns out the first event listed in the Action section of the events window (associated with the Properties window) is DoubleClick.  All I needed to do was double click it and it generated the event for me.  But I like his approach and may try it with other things as well.

Thanks for asking.

Bob