Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

thanks a lot ramani, i want hide main foxpro for windows no vfp 1

Status
Not open for further replies.

vfp5

Programmer
Oct 17, 2001
14
0
0
US
i have system in foxpro for windows v2.6a, i need any example how hide the main foxpro windows or change the icons or the title microsoft visual foxpro. i know the command modi windows screen, but i dont know use it.

excuseme my english, thank a lot....
 
You really can't hide the main window in FPW - it's one of those leftovers from it's DOS heritage.

Here's how to change the screen font, Icon and Title
Code:
MODIFY WINDOW SCREEN ;
  FONT "MS Sans Serif",8 STYLE "B" ;
  ICON FILE "myicon.ico" ;
  TITLE "My New Heading"
Rick
 
One trick we have used in the past was to move the window out of sight, then restore it when you are done. You can define your other windows in the DESKTOP prior to moving the main window to keep them in view.

MOVE WINDOW SCREEN TO -500, -500
.
.
do stuff
.
.
MOVE WINDOW SCREEN TO 0, 0

It can be obnoxious at times so it is safer to define the main window just to look like you want it instead.

Dave S.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top