Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remove something from a parent class
Message
 
 
To
13/10/2006 10:23:19
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01161714
Message ID:
01161761
Views:
15
Dragan,

Giving them an "off-screen" postion via .Left or .Top is not good because they are still in the UI event loop, ie those controls can get focus and absorb keypresses. Setting it .Visible = .f. will remove it from the UI event loop.

>Another way is to just make them invisible (by setting this.visible=.t. or this.left=-2000 in .init) if possible. Not sure you can do this for all possible kinds of objects - pages in a pageframe, or columns in a grid - but it would work for those that have these properties.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform