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
 
 
À
30/08/2003 18:17:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00822423
Message ID:
00824873
Vues:
16
This message has been marked as the solution to the initial question of the thread.
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
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform