PRB: HalfHeight Property Must Be Zero to Remove Title Bar (189777)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 6.0

This article was previously published under Q189777

SYMPTOMS

If the HalfHeightCaption property is set to true and the TitleBar property is set to "0 - Off", the form's title bar remains.

RESOLUTION

Set the HalfHeightCaption property to false (.F.).

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Behavior

Run the following code:
      frmNoTitle = CREATEOBJECT("form")
      frmNoTitle.TitleBar = 0
      frmNoTitle.HalfHeightCaption = .t.
      frmNoTitle.Show(1)
				
RESULT: The form will appear with a half-height caption. If the HalfHeightCaption line, shown above, is removed or if the HalfHeightCaption property is set to false, the form will not have a TitleBar.

Modification Type:MajorLast Reviewed:12/11/1999
Keywords:kbprb KB189777