Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Good design advice with containers on pageframes.
Message
From
14/07/1999 14:14:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Good design advice with containers on pageframes.
Miscellaneous
Thread ID:
00241405
Message ID:
00241405
Views:
55
My pageframe class allows for a container class to be instatiated at run time containing the page controls. This is to avoid the instantiation overhead commonly associated with pageframes. I believe this is a recommended technique and is the approach adopted by my third party framework.

On certain occasions, the pages on the pageframes are in effect representations of application classes. One page may have client information, another page vehicle information, another page driver information and so on.

Could anyone advise the best approach to develop these classes in the guise of a .VCX form, so they can be subclassed for specialised purposes, but have them "loaded" in the containers on the page(s) of the pageframes?

I understand that sublclassing "containers" containing controls is not recommended. Apparently, the container is subclassed but not the controls in it (Drew Speedie - FPA some time ago).

I don't even know whether a "container" can contain a form (itself a container). Before I dive headlong in to this, I would very much appreciate some theory/design advice.

TIA
-=Gary
Next
Reply
Map
View

Click here to load this message in the networking platform