General information
Category:
Forms & Form designer
Hi Matthew.
I just tried this and it seems to work.
I entered this code into the MouseDown event of the List box.
if nButton = 2
noDefault
endif
This disables all right clicks in the MouseDown event, but the RightClick event still fires.
HTH
-Michael M. Emmons
>When I rightclick in a listbox (to popup a shortcut menu) with miltiple selected item, all selected items are deseleted and only the item the cursor happens to be on is now highlighted. This is not my desired result. You can maintain all selections if you hold the 'ctrl' key when rightclicking. I could probably fix this by saveing all selected items to an array and then refreshing but this seems like an awful lot of work. Any suggestions??????
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only