Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pageframe Resize or Page Switch Resets ADDOBJECT() Contr
Message
From
11/12/2007 06:33:08
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01274717
Message ID:
01274725
Views:
9
> I'm not sure why do you remove the object? We use similar methodology, in page Activate method we add a container if it's not there using NEWOBJECT method. But once added, this container remains added.

Hi Naomi,

The container class that I am adding changes, depending on a value that can be set when initializing a form OR selected from a combobox on screen. I remove the object before adding it again to clear the original object. I could add code to only remove and add the container if the class HAS changed - it would probably be more efficient that way.
Ben Sugden

"Remember to enjoy hunting - and that means relishing the search for the product that has never been advertised or placed handily at the front of the shop; Life begins on the uppermost shelf, avoid guide books and top 10's like the plague." - Ramsey Dukes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform