Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameters
Message
De
20/11/1999 16:55:50
 
 
À
20/11/1999 16:25:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00293520
Message ID:
00293522
Vues:
18
Hi Favio,

>When I pass parameters to a form , How can I see the values of the parameters in the event INIT of a control ?
>(in the only place that I see them is in INIT of the Form )

Correct. What you can do is create a private variable be fore you call the form, that will make the value available to the controls.

Other wise you will have to wait until the Forms INIT() to make your changes. IOW: Instead of:

*Controls.Init()
lparam cMode
this.caption = cMode

You need to do

Form.Init()
lparam cMode
This.Control.Caption = cMode


Along the same lines, some peole create a method called "AfterFormInit()" that they call in every control from the Form.Init() and pass the parameters at that time.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform