Article ID: 157725
Article Last Modified on 10/15/2003
APPLIES TO
- Microsoft Visual FoxPro 5.0 Standard Edition
- Microsoft Visual FoxPro 6.0 Professional Edition
This article was previously published under Q157725
SYMPTOMS
In Visual FoxPro 5.0, the Minimize, Maximize, and Exit buttons disappear
from the title bar of a form when the ControlBox property of a form is set
to False(.F.). This behavior is different in Visual FoxPro versions 3.0 and
3.0b, where the Control-Menu box in the upper left corner of the form
disappears and the Exit button only becomes disabled, when the ControlBox
property is set to False(.F.).
CAUSE
This behavior in Visual FoxPro 5.0 occurs because FoxPro no longer draws
all of its non-client areas. The operating system, which is Windows 95 or
Windows NT 4.0, takes care of this operation. When the ControlBox property
of a form is set to False(.F.), Windows 95 or Windows NT 4.0 detects that
there is no control box. It then presumes that you do not want to perform
any of the operations that were contained within th1s control, such as
Minimize, Maximize, or Exit. Therefore, the controls are removed.
STATUS
This behavior is by design.
Additional query words: kbdse VFoxWin
Keywords: KB157725