How to Create a Form that Has No Title Bar

ID: Q135113

The information in this article applies to:

  • Microsoft Visual FoxPro for Windows, version 3.0

SUMMARY

This article shows by example how to create a form with an empty, disabled title bar, no Close, no Maximize, no Minimize, no Moveable, and no Caption.

MORE INFORMATION

Step-by-Step Example

1. Create a new form. On the File menu, click New. Then click Form and New

   File.

2. In the Properties window, select the Layout tab. Next, select the
   Caption property, and press the DELETE Key (not the space bar) to remove
   all text for this property.

3. Set the following properties to false (.F.):

   Closable = .F.
   Controlbox = .F.
   Maxbutton = .F.
   Minbutton = .F.
   Movable = .F.

3. Set the BorderStyle Property to whatever you want it to be, such as
   Single Line.

NOTE: If the HalfHeightCaption is set to true, the title bar will still appear.

REFERENCES

For more information on each property, type the corresponding command from the list below in the Command window:

   HELP CAPTION
   HELP CLOSABLE
   HELP CONTROLBOX
   HELP MAXBUTTON
   HELP MINBUTTON
   HELP MOVABLE

Additional reference words: 3.00 VFoxWin closeable KBCategory: kbprg KBSubcategory: FxprgBrowse


Last Reviewed: October 20, 1995
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.