Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox rightclick nodefault
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00783039
Message ID:
00783514
Views:
12
>Whats the easiest way to prevent a listbox from deselecting everything when you have multiple selections picked already.
>
>NODEFAULT in the rightclick event does not work.

Playing with this, I have found the "unselect" happens in the "MouseDown" event.
I put this in that event:
LPARAMETERS nButton, nShift, nXCoord, nYCoord
If nButton = 2
   This.RightClick()
   NoDefault
EndIf
Tracy
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform