PRB: Property is Ignored Under Program ControlID: Q127845 3.00 WINDOWS kbprg kbprb The information in this article applies to:
SYMPTOMSAssigning a value to a property in a class definition has no effect at run time. The value of the property is ignored.
CAUSEThe property, or any property that affects it, is misspelled or not assigned to the correct member object. A new property is therefore declared, and no error message is generated.
RESOLUTIONYou can use the DISPLAY OBJECTS command or the Amembers() function to verify that all of the attributes of an object hold the correct value. For more information about DISPLAY OBJECTS or Amembers(), refer to Visual FoxPro Help.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce BehaviorWhen running the following sample program, the ToolTipText property does not display any text. The reason for this behavior is that the ShowTips property, which specifies whether or not a tool tip can be displayed for a control, is set as a property of a control instead of a property of the form.
Additional reference words: 3.00 VFoxWin
KBCategory: kbprg kbprb
KBSubcategory: FxprgClassoop
|
Last Reviewed: May 1, 1996 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |