Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining non-default properties
Message
From
06/11/2008 23:32:33
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Determining non-default properties
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01360388
Message ID:
01360388
Views:
69
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
Next
Reply
Map
View

Click here to load this message in the networking platform