How to Create a Form that Has No Title Bar

Last reviewed: October 20, 1995
Article 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.

  4. 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


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

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