Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can We Return Values From Class Objects
Message
De
26/07/2001 02:51:41
 
 
À
26/07/2001 02:32:02
Devrishi Bhogra
Escorts Claas Limited
Faridabad, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00535541
Message ID:
00535544
Vues:
13
Once it is a class I'd suggest that you create a form property to store the item selected.
Then before you destroy the form object you quiz its value

eg:
local oFrm
oFrm= createobject('myform')
oFrm.show(1)
itemno= oFrm.myitemno

where myitemno saves the selected item while you are in the form.


>Hi there!!
>
>i have designed a form which accepts a SQL srting as parameter and displays a listbox based on the output of sqlstring. Form returns the item selected by user.
>
>like do form ItHelp with "select * from itemmast" to mvar
>
>My Question :
>if i save this form as class will i be able to get the return value.
>
>Please Help
>
>Regards
>
>Sunny
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform