Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange inheritance behaviour
Message
From
07/02/2000 14:27:47
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Strange inheritance behaviour
Miscellaneous
Thread ID:
00328415
Message ID:
00328415
Views:
55
What would cause inheritance to work, but property settings from the parent class not show themselves correctly in the properties sheet? .

Details: We sub-classed all of the FoxPro base classes into base.vcx. Then sub-classed again into frame.vcx, which is where put our own properties and methods, and made changes to base properties, etc. In Tools-Options we have the form default to our "frmframe" form class, which is in frame.vcx, which is a child of "frm" in base.vcx. We create a form, which shows BaseClass = Form, Class = frmFrame, ClassLibrary = ...\frame.vcx, and ParentClass = frm... all looks correct. However, we do not see our settings, like AutoCenter = .T., in the properties sheet (which is set to .T. in "frmframe"), but if you run the form the form is centered??? Even though the properties sheet it says .F. for the AutoCenter property in that form???
Next
Reply
Map
View

Click here to load this message in the networking platform