Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menubar/command button selected via mouse or shortcut ke
Message
De
03/04/2006 15:58:25
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01110054
Message ID:
01110067
Vues:
24
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform