Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine added controls in a class ?
Message
De
13/03/2004 22:30:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Determine added controls in a class ?
Divers
Thread ID:
00886046
Message ID:
00886046
Vues:
58
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform