Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine added controls in a class ?
Message
From
13/03/2004 22:30:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Determine added controls in a class ?
Miscellaneous
Thread ID:
00886046
Message ID:
00886046
Views:
57
I'm using VFP 7.0

I have a container class with a pageframe in it. I subclass the container and add controls onto some of the pages in the pageframe.

Is there some way I can easily get a list of those controls that have been added to the subclass?

Amembers() will allow me to see what controls have been added to the container in the subclass, but I can't find a way to see what has been added to the pages.

Aselobj() will allow me to get a list of every control in the subclass, but it doesn't tell me which ones have been added.

The closest I can get is to use aselobj() to drill down through all the controls and use amembers() to check for changed properties, and if the Top and Left properties have been changed, it's a candidate for being an added control.

TIA
Bill Morris
Next
Reply
Map
View

Click here to load this message in the networking platform