Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close active object form container
Message
From
07/12/2009 21:38:12
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01437905
Message ID:
01437995
Views:
31
>I have a container with many grids, all grids have different work.
>i want to close any active object with container.
>
>i do not want like this.
>thisform.container7.Visible=.f.
>thisform.container7.grid2.Visible=.f.

Wait... if you make container visible, than any object in it should also become invisible. So second line is unnecessary.

If you want to show/hide many objects at the same time, just put them inside the same container and don't worry - you only show and hide containers, and their members show and hide with them.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform