Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menubar/command button selected via mouse or shortcut ke
Message
From
03/04/2006 15:58:25
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01110054
Message ID:
01110067
Views:
25
Hi Sergey,

>For a commandbutton you can try MDOWN() in the Click.

Thanks for idea. Unfortunately, the mdown() state appears to have cleared by the time the Click() event activates.

Here's what I put in my Click() event to verify this:

if mdown()
Thisform.lblMessage.Caption = 'Mouseclick'
else
Thisform.lblMessage.Caption = 'Keyboard'
endif

Any other ideas?

Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform