Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning a value from a class form
Message
 
À
09/11/2001 16:27:48
Dave Macfarlane
Condo Navigator Ltd.
Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00579966
Message ID:
00580025
Vues:
22
>If I substantiate a form as:
> oCalendar = NEWOBJECT('frmCalendar','Misc.vcx')
>
>Then Initiatialize it and pass parameter EMPTY(dbirthdate):
> oCalendar.Init(dBirthdate)
>
>Then Show the form:
> dBirthdate = oCalendar.Show()
>
>The RETURN in the form classes UNLOAD doesn't get returned to dBirthdate. Is there another way to amend the value of dBirthdate, obviously my SHOW() syntax is incorrect.

The form needs to be modal to return a value. Try oCalendar.Show(1).

Rich.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform