PRB: Child Property Doesn't Reflect Parent Container PropertyID: Q143001 3.00 3.00b WINDOWS kbtool kbprb The information in this article applies to:
SYMPTOMSIf you set a child object's property value equal to a parent container's value and then change the value for the parent container's property, the new value is not reflected by the child object.
CAUSEExpressions placed in the child object's property sheet are evaluated once.
RESOLUTIONIf you change the parent container's property, you can force a reevaluation of the child object's property by clicking into the property of the child on the property sheet and pressing ENTER or by clicking the checkmark in the child object's property sheet. When you run the form, Visual FoxPro will evaluate all expressions once to initialize the altered properties of every object. The exceptions to this are the DynamicXX properties of the Grid column object. These are evaluated dynamically when the grid is refreshed.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Demonstrate Behavior1. Create a new form. 2. Place an object such as a command button on the form. 3. In the Property sheet, set the property of the object's FontSize to 4. Change the parent container's FontSize value. Note that the child does
Additional reference words: 3.00 3.00b VFoxWin dynamic evaluate
KBCategory: kbtool kbprb
KBSubcategory: FxtoolFormdes
|
Last Reviewed: January 26, 1996 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |