Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
>Hi Dennis,
>
>I'm sorry but I don't understand what the problem is because I'm not sure what you're trying to do. Anyway, maybe MDOWN() function would help?
>
>>Hi Sergey,
>>
>>My gratitudes for your attention to this thread. Yes, I do put code in the AfterRowColChange event to update the textbox contents but ONLY when a MOUSE click, the DOWN or the UP key was used to position to a grid row.
>>
>>I put have a UpdateTextBox property which I set to .T. if in the textbox keypress event the UP or DOWN keys were pressed, but am at a loss on how to determine if a MOUSE click was used. The UpdateTextBox property is being used by the AfterRowColChange to determine if it will update the textbox contents or not.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement