Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scope of a form's Property Value
Message
De
27/08/2002 11:00:13
Carmen Gassi
Perseus Software Systems
Oakville, Ontario, Canada
 
 
À
26/08/2002 10:32:33
Irv Adams
MSC Managed Care, Inc.
Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00693357
Message ID:
00694019
Vues:
13
Irv
Thank you for the ideas. All of the contributions to this thread have been helpful.

Regards,
Carmen
>
Another method, in addition to all the great ideas listed, is to create a Global Application object and wrap all forms within it. This object can be a Container, Custom, etc. and when a Form is launched it is assocated with a Property of the Global object and given a name as in:
>
>
>(Main.prg snippet...)
>oGlobal = CreateObject("GlobalApp")
>oGlobal.AddProperty("MainForm","")
>DO FORM TARatesCalc NAME oGlobal.MainForm LINKED
>READ EVENTS
>
>
>Throughout the program this Form will be known by its Property name.
>
>-Irv.
>
>>Is there a way to access the value of a property on a form when a child form is launched? I thought you could access the value of any property by prefacing that property with the name of the form. When I try that, I receive an alias not found error.
>>
>>Thanks,
>>Carmen
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform