>>
>> >>
>> >> 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
I can do the ON KEY LABEL, but I am not sure about the following..
>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.
could you give me an example of doformretval? I think I am missing the boat..