Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A way to know if mouse or keyb was used in grid
Message
De
08/09/2003 02:36:55
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00822423
Message ID:
00826982
Vues:
31
Sergey,

That did the trick! Thanks a lot Sergey!

Just a little concern though - since MDOWN() is included for backward compatibility (as found in VFP Help), is there another way for this using the 'new' PEMs?

Thanks once again!

Dennis

>Hi Dennis,
>
>You can use MDOWN() function in the LostFocus of the texbox check.
* Textbox LostFocus
>IF MDOWN()
>  * Mouse's been used to move focuse to some other control.
>ENDIF
>
>>Hi Sergey,
>>
>>I am trying to mimic the behavior of the Index tab page of MSDN VFP help. =)
>>
>>Since the KeyPress event of the textbox can already trap for the UP or DOWN keys, I also need to trap if the mouse or mouse click was used in going out of (or losing focus of) the textbox (and used selecting a grid row). I need this in order to update the textbox contents via updating the UpdateTextBox property to .T.
>>
>>Thanks again
>>
>>Dennis
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform