Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to put code ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00702023
Message ID:
00702321
Vues:
10
I understand that. Set the visible property of these controls to FALSE now at design time, not at runtime. This is done on the Property sheet for the controls, not in the INIT. When your form receives the parameter in the FORM INIT, then instead of trying to hide controls based on the INIT parameter, you will un-hinde [set the VISIBLE property to TRUE] the controls based on the parameter. Just reverse your process.

>Mark, thanks for your reply.
>
>My problem is that I cannot use the Init of the object to set it to Invisible because I have to wait until the init of the Form, because I have a parameter coming in which determines whether the control will be visible or not.
>
>Gerard
>
>
>
>>Set the Visible property of the controls to FALSE for the ones you may want hidden. Then in the INIT set Visible to true for the ones you need.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform