FIX: Changing Subclassed Form's Desktop Property Has No Effect
Article ID: 141315
Article Last Modified on 9/30/2003
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
- Microsoft Visual FoxPro 3.0b Standard Edition
This article was previously published under Q141315
SYMPTOMS
A problem occurs when a class based on form is used as a template to design
a new form. Although within the class the Desktop property of the form is
set to 'False - .F.' (default), during design time, the new form based on
this class is assigned a Desktop Property of 'True - .T.' so the form
doesn't run as a Desktop form.
WORKAROUND
Set the form's template class to the value that will be used in the
finished form. It is not necessary for this to be done at the bottom level
of the class hierarchy (that is, the ParentClass Property of the template
class is 'Form'), but simply within the template class itself.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This problem has been fixed in
Visual FoxPro 5.0 for Windows.
Keywords: kbbug kbfix kbvfp500fix KB141315