I'm using a Forms Listbox.
If the item is already selected the mouse click doesn't generate a change event. But a double click does.
How do I get a consistent event trigger on clicking an item, irrespective of whether the item is already selected?
I'm using a Forms Listbox.
If the item is already selected the mouse click doesn't generate a change event. But a double click does.
How do I get a consistent event trigger on clicking an item, irrespective of whether the item is already selected?
Perhaps a mouse_up event?
Please help by:
Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know
There are 10 kinds of people in this world... those who understand binary, and those who don't.
Thanks Arkadi.
I've been trying to use the mouse up or down events but haven't figured out how.
I'm using the Form control, not the ActiveX control
(The ActiveX controls have the annoying habit of resizing themselves on different monitors which renders them useless for my application)
First thing to do is find the MS help to mousedown event procedure, it might give answers to your questions.
Caution - you need to trigger the keyboard, too. The user can browse the listbox with up/down arrows and can press Enter on the selected row.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks