Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rename a custom property of my class?
Message
 
 
To
26/03/2009 09:41:29
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01391579
Message ID:
01391584
Views:
77
If you rename a property of your form base class, it'll not be changed in subclasses. You'll have to rename it in subclasses as well.

brake subclasses if you ovewriten it . The subclasses will still use the old property.

>Is there any way I can rename a property on my base form class so that it will not break all the forms based on that class that have overridden that property?
>
>I have a custom property named "form_title" that I wish I had named "cFormTitle", but every SCX form already has that property set to a value, and if I rename the property in my base class, won't that break the SCX file, as far as losing the value of that property?
>
>I know I can use the Code Refences to address the use of that property name in method code, but what about the issue of the property name/ value that I have set on each form SCX?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform