Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rename a custom property of my class?
Message
De
26/03/2009 12:06:27
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
26/03/2009 11:24:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01391579
Message ID:
01391645
Vues:
42
>I don't think that's correct.
>
>If you change the property name in the base class, the old property value disappears from all sub-classes and all forms.

I understood this as "the three step process would work as is" for vcxes as well. And I'd agree there. Step 2 would be
2.1 if this a form class, go through scx files
2.2 go through all classes which are subclassed or have members which are subclassed from this



>>>Nope, a three step process.
>>>
>>>(1) Manually creating a new property in your baseclass
>>>
>>>(2) Run your PRG which looks thru all SCXs, assigned the value from the old property to the new property.
>>>
>>>(3) Manually deleting the old property.
>>>
>>>Of course, you've got more problems if you have sub-classes to your form's base class.
>>>
>>
>>I think for VCX based forms it would work as is.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform