BUG: Grid Activation Causes Form to Move If Form Title Hidden (136669)
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 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q136669 SYMPTOMS
Many people set the Top property of a form to a negative number so they can
hide the form's title bar. However, if you have a grid on a form and the
Top property of the form is set to a negative number, the grid gets the
focus and the Top property is reset to zero. This causes the form to move,
which is not desired behavior.
WORKAROUND
Instead of using a negative Top property to hide the title bar, set the
following form properties, which will hide the title bar without using a
negative Top property setting.
Caption= && Leave it empty
ControlBox=.F.
Closable=.F.
MaxButton=.F.
MinButton=.F.
Movable=.F.
Top=0 && Or anything more than 0
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.
Modification Type: | Major | Last Reviewed: | 5/7/2003 |
---|
Keywords: | kbBug kbui KB136669 |
---|
|