Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>Hi Paul
Thanks for the ideas and suggestions. I am not yet running VFP 8. This is what I did to work around the problem. I set the Forms Keypreview property to .t. In the textbox object I am in I tested for keypress = 27 and if detected I moved to the bottom of the file I was working my way through one record at a time. If the keypress event detected the escape key pressed, it issued a Keyboard "{Enter}" , thus firing the Valid event. The valid event checks for being at the end of the file and if so does some clean up and returns a .t. allowing exit from the textbox. So I sort of combined your original idea with a bit of tweaking. I don't think I am going to spend the time coding the mouse movement sequence. The user will just have to either process the records or press ESC to move on. Thank you for the time you spent.
Regards,
Carmen
Précédent
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