Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Ian
Thank You!!!
I put the code in the keypress event, that worked Thank You very much.
R D Black
Still Learning, I think?
>>I what to release the First form in my program by having the user press the spacebar. What do I need to do.
>>
>>Thank You
>Roelaux,
>
>This may not be the best way to do it but you can do it this way:
>
>1. Set Form.KeyPreview to TRUE
>2. In the KeyPress event of the form, trap for the spacebar:
>
>IF nKeyCode = 32
>THISFORM.Release()
>ENDIF
>
>I think that should do it - I normally like to test any answers before I post them but I'm stuck using Fox 2.6 Windows and the hard disk is too small to install visual fox :(
>
>HTH
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