Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Release Form by KeyPress
Message
From
08/07/1999 12:29:56
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00238880
Message ID:
00238921
Views:
9
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
Map
View

Click here to load this message in the networking platform