Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - Hot Keys?
Message
De
23/04/1997 13:04:27
 
 
À
23/04/1997 12:38:52
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00029391
Message ID:
00029423
Vues:
37
>> >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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform