Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array of non-default properties
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00572626
Message ID:
00572648
Vues:
25
>>Hi everybody,
>>
>>I'm trying to create a simple "convert" program, which would convert all base classes to my own classes. There are two approaches here:
>>1) Create this program as direct operations on VCX file as a table (probably the simplest way)
>>
>>2) Copy each control in design-time and copy all non-default properties to them. I'm trying to proceed in this direction, but I could not find function, which would create an array of all non-default properties (I'm not trying to re-create methods, it would be too complicated)...
>>
>>How can I create an array of all non-default properties for the object?
>>
>>Thanks in advance.
>
>You can go through the object properties and check them with PEMSTATUS() with nAttribute 0.
>
>From Help:
>"0 Changed (properties only). A logical true (.T.) is returned if the property value has changed from its original, default value; otherwise a logical false (.F.) is returned."
>
>If it is changed add it to your array.

I guess, I don't have an alternative here. Too bad, we haven't upgraded yet.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform