Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50 - Hot Keys?
Message
From
23/04/1997 13:04:27
 
 
To
23/04/1997 12:38:52
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00029391
Message ID:
00029423
Views:
35
>> >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..
>
>Since you mentioned yesterday using doform, I'm assuming you're using
>the TasTraders template. If not, this won't make a lot of sense.
>
>If you define a form class based on tsformretval, you can set it up to
>pass a result (return value) to the program that called it. (assign the
>return value to uretval)
>
>Call it by: myresult = oApp.doformretval('myretform')
>
>For your situation you could return a logical result
>
>IF oApp.doformretval('mydataform')
> oApp.do()
>ELSE
> oApp.cleanup()
>ENDIF
>
>HTH
>--
>Matt McDonnell

thanks Matt for the code.. why would I need to know if a FORM returns
a VALUE of .T./.F. ? I seem to be somewhere in left field on this one.
How about a small example?
thanks again..
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform