Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining non-default properties
Message
De
06/11/2008 23:32:33
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Determining non-default properties
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01360388
Message ID:
01360388
Vues:
64
I'm working on some modifications to the Edit Property / Method Dialog project in VFPx.

One thing I'd like to be able to determine is which properties or methods are non-default -- that is, I'd like to be able to create the same list that appears in the property sheet when you choose 'non-default'.

I thought I could use PEMSTATUS( 0) to determine whether the member has 'changed' -- but that doesn't work, because it returns a list which includes all members defined in the parent class(es). For example, if I have a class 'basetextbox' which has a baseclass of textbox, then when I create an object using this class, all the properties or methods changed in the class shows return a value of .T. from PEMSTATUS( 0)

Now, clearly, VFP knows whether something is non-default, because it can show them in the property sheet.

So, is that information available somewhere?

Thanks in advance,
Jim Nelson
Newbury Park, CA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform