BUG: Subclass Member Object Properties Cannot Be Changed (141639)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 3.0
  • Microsoft Visual FoxPro for Windows 3.0b
  • Microsoft Visual FoxPro for Windows 5.0
  • Microsoft Visual FoxPro for Windows 6.0

This article was previously published under Q141639

SYMPTOMS

Attempting to change the FontItalic property of a label that is based on a subclass is unsuccessful.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

Issue the following commands in the Command window and follow the instructions as noted.
   CREATE CLASS redform OF newclass AS form
   * select the backcolor property and change the color to Red.

   SET CLASSLIB TO newclass
   CREATE CLASS redform2 OF newclass AS redform  && Add a label and save.

   CREATE FORM test
   * Add redform2 and create the FormSet by selecting the View Classes icon
   * on the toolbar, choose ADD, and select newclass. Save the form.

   MODIFY CLASS redform OF newclass  && Add a label and save.

   MODIFY FORM test
   * change the FontItalic property to .T. and save the form.

   MODIFY FORM test
   * note the FontItalic property for the Parent Class
   * label is back to the default of .F.
				
NOTE: This same behavior occurs with other font attributes when the class is created visually.

Modification Type:MajorLast Reviewed:12/3/2003
Keywords:KB141639