Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
User defined properties
Message
 
To
08/01/1999 12:47:39
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00173950
Message ID:
00174405
Views:
28
Hi Denis,

>I want to make that values of properties of the user defined class in the "Properties"(Form Designer) window represented as combobox with defined values.
>For an example as standard property for a Form object "BorderStyle"
>0 - No border
>1 - Fixed single etc.

No, it's still not possible. I've sent this as an ER several times, but obviously it's not considered to be a critical feature. Basically you can write one yourself. You get all properties via AMEMBERS(). Via PEMSTATUS() you can check whether it's protected, overridden from the default, etc. Calling ResetToDefault() would restore the old value. You've all you need, it's only that you have to write it yourself.

Other pointed out that you could write a builder. I just want to add that if you give your class a builder property you can insert there the name and library of any builder. This builder is called instead of the default builder, letting you define a separate builder for every class.

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform