Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CommandGroup: Finding which button was RightClicked
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00011007
Message ID:
00011009
Views:
37
>Even though a CommandGroup supports the RightClick event, the Value property for the container is not set when a button is rightclicked, even though that button does receive focus. So, unlike the Cliick event, you cannot easily tell which button was RightClicked when that event fires for the container.
>
>Any workarounds? I'm using VFP5. Thanks!

Hopefully I am in the same ballbark. How about having the individual Button RightClicks call the Container RightClick method. Just pass the individual button name as a parameter.

HTH,
Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform