Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50 - Hot Keys?
Message
From
23/04/1997 11:15:55
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, United States
 
 
To
23/04/1997 10:52:23
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00029391
Message ID:
00029397
Views:
34
> > >> > >> Does vfp50 have a HOT KEY that will let you EXIT an > >> EXE program file? On any CLIPPER EXE, you could press > >> ALT/X and that would EXIT the program. > > > >You have total control of hotkeys. Use ON KEY LABEL to assign hotkeys > >to run commands. Issuing a CANCEL will quit an EXE. Also, it's a good > >idea to have the File menu on all you menu bars with at least an Exit > >option with a hot key Alt+X. > > > >HTH > >-- > >Matt McDonnell > > thanks Matt... the problem is... I have a FORM that must be filled out > for the EXE to work. This FORM is the DATA PATH. This FORM has the WINDOW > TYPE of MODAL. That means that the EXIT off the MAIN MENU is turned off. > I should have a way the user can quit without adding a > command button on the DATA PATH FORM. What do you think? can't you put an exit button on the form to release it? Then, if you used doformretval, if the return value doesn't meet the required parameter, the user gets kicked out. BTW, ON KEY LABEL is not a property of anything. It is enabled until to clear it. If you issue ON KEY LABEL Alt+X CANCEL in you app setup procedure, you'll always be able to exit using that, unless you overwrite it or clear it. -- Matt McDonnell
Matt McDonnell
...building a better mousetrap with moldy cheese...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform