Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
An easy one, I think
Message
 
À
26/03/1999 11:57:31
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00202418
Message ID:
00202460
Vues:
12
>I need to know if there is a way to return a value from a form with the code that is below, or if there is a better way to do this.
>
>oreport = CREATEOBJECT("myclass")
>oreport.show()
>
>Thanks a bunch,
>
>Jim

Jim, I assume you are going to do something in the form, get the value and then close the form. You can store the necessary value in the property of another object (i.e. application object which you do not release.) Sometimes I store necessary values in the oExchange custom object which is created as a mediator exactly for this purpose.

HTH,
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform