General information
Category:
Object Oriented Programming
Title:
Strange inheritance behaviour
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only