Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hey george - could you give me your views on this questi
Message
De
13/08/1998 15:21:18
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00126656
Message ID:
00126672
Vues:
13
>>I would like to check for a return value from a FORM.
>> How would I do this?
>> thanks
>
>Hi Rob,
>
>Well, first the form has to be modal. Second, regardless of whether or not it actually does, a DO FORM myform.scx TO retval will return a value regardless of whether or not the form actually contains the line: RETURN whatever in the Unload event. If there's no return value, the variable will equal .T.. However, the form could legitimately return this value, but its more likely that it would return some other data type.
>
>If you want to check this in development without actually opening the form in the design mode, you can USE it like a table. Locate "form" in the baseclass field, then see if the "PROCEDURE Unload" is found in the methods field of it. You'd have to scan the field to see if RETURN had something being returned before the ENDPROC statement.
>
>hth,
thank you george - that helps a lot. :)
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform