General information
Category:
Forms & Form designer
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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only