Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Container & Separator classes - Examples
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00160961
Message ID:
00161033
Views:
23
Michel,

>The Form Manager I wrote is a CUSTOM class, not a FORM class. It needs
>to be as a class as, unlike with Functions, it needs to keep track of
>property variables and arrays - if I used functions I would need a
>system of Public variables instead. So, it is because it is a CUSTOME
>based class that I was thinking of transferring all its methods and
>properties to a CONTAINER class so that I could then visually refer
>to it whenever needed.


You can CREATE CLASS FormManager as Custom then. Custom classes work great in the class designer. With the limitation I mentioned before you can't drop any other objects into it at design time. So if your form manager needed say a Timer object. If you derived from Custom it would have to be done at runtime:

this.AddObject( "tmrX", "cTimer" )

If you derived from Container, you could just drag the cTimer class and drop it into the manager class.
df (was a 10 time MVP)

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

Click here to load this message in the networking platform