Microsoft KB Archive/192767

= FIX: HalfHeight Form Close Even when Closable Property is False =

Article ID: 192767

Article Last Modified on 5/12/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 3.0b Standard Edition
 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a

-



This article was previously published under Q192767



SYMPTOMS
In Visual FoxPro 3.x and 5.x, when the Closable property of a HalfHeight form is set to .F., double-clicking the control box of the form closes the form.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been corrected in Visual FoxPro 6.0.



Steps to Reproduce Behavior
  Create a program containing the following code: PUBLIC oForm oForm = CREATEOBJECT('Form') oForm.HalfHeightCaption = .T.     oForm.Closable = .F.      oForm.Show  Save the program and run the program. When the form appears, double-click the form's control box that is located in the upper right corner, close to the Fox icon.

The form closes despite the setting of the Closable property.

NOTE: You may need to double-click the control box several times in order to duplicate this behavior.

Additional query words: kbVFp600fix kbCtrl kbContainer

Keywords: kbbug kbfix kbcode KB192767

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.