Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to put code ?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00702023
Message ID:
00702321
Views:
9
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform