How to Change the Attributes of the Main FoxPro Screen

Last reviewed: April 29, 1996
Article ID: Q96360
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0
  • Microsoft FoxPro for Windows, versions 2.5, 2.5a, 2.5b, 2.6, and 2.6a

The MODIFY WINDOW command changes the attributes of an existing user- defined window or the main FoxPro window. Use MODIFY WINDOW to change the location, default font, title, border, controls, icon, wallpaper, and color of a user-defined window. Use MODIFY WINDOW SCREEN to change the attributes of the main FoxPro window. All of the previously listed attributes can be changed on the main FoxPro window except for the border.

To change the font, title, and wallpaper of the main FoxPro window, use the following command:

   MODIFY WINDOW SCREEN FONT 'MS Sans Serif',12 TITLE 'New title' ;
   FILL FILE winlogo.bmp

To return the main FoxPro window to its default window, issue the following command:

   MODIFY WINDOW SCREEN

REFERENCES

"Language Reference," pages L3-427 to 437, pages L3-677 to 678


Additional reference words: VFoxWin 3.00 FoxWin 2.50 2.50a bitmap logo
custom customize
letterhead "title"
KBCategory: kbprg
KBSubcategory: FxprgGeneral


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: April 29, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.