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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Foxpro screen

Status
Not open for further replies.

vdeveloper

Programmer
Aug 5, 2000
42
IN
Hi all

When executing standalone apps, They open in 640 x 480 screen size and then expand to 800 x 600 size. is there any way to avoid this and open directly in 800 x 600 size ? This causes a flicker that I would want to do away with.

Thanks

Ravi

 
vdeveloper

Try
_screen.windowstate = 2

In your main program.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Hi Mike

I have given that command at the start of my startup prg. still the same behaviour

Ravi
 
vdeveloper

If you are using icons on the desktop to start them, specify in the icon itself to open the app maximize.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Ravi,

Mike Gagnon's suggestion of using _SCREEN.WidowState = 2 should work. I do it in every app I write.

However, if by any chance you have _SCREEN.Visible = .f. in your startup routine, or SCREEN = OFF in your config file, you will need to execute _SCREEN.WidowState = 2 after you have made the screen visible.

Mike

Mike Lewis
Edinburgh, Scotland

My Visual Foxpro web site: My Crystal Reports web site:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top