Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Adel Kadi
  Where is Adel Kadi?
 Fairfax
 Virginia - United States
 Adel Kadi
 To: Ryss Unger
  Where is Ryss Unger?
 Cape Town
 South Africa
 Ryss Unger
 Tags
Subject: RE: Resolution For User's App
Thread ID: 803 Message ID: 816 # Views: 1 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Thursday, June 14, 2001 7:18:11 PM         
   


> > Hi
> > I am asking alot of questions in this forum but only when i need help
> > Now I work with VFP6 and after i make setup it will install on the user's
> > computer but the form will be stuk into the screen i found an article
> > FoxTalk I dd the code it is better the only thing that the screen is not
> > maximized My question is how to write some code that allow the user
> > even if he/she changed the resolution on the monitor does not affect
> > the way the App shows on the screen?
> > Thanks again
> > kadi
>
> Hi Kadi
>
> The option I use is:
> In your config.fp add "title = mymainscreen"
>
> In your app issue "zoom window 'mymainscreen" max'
>
> Regards
> Ryss
Thanks very much Ryss
Now do i write it the way you wrote it or take somethin out and what is mymainscreen
my project is done by VFP wizardApp the prog main called sonny_App so is this is the
one i should edit ?
Now I did this but this code does not always adjust if the user changed the resolution on his monitor Plus it does not Maxmize the screen and can i use WindowState = 2 ?:
IF rdlevel() = 0
oldtitle = wtitle('screen')
oldfont = wfont(1,oldtitle)
oldsize = wfont(2,oldtitle)
oldstyle = wfont(3,oldtitle)
modify window screen font "MS Sans Serif",8
clear
fromrow = wlrow()
fromcol = wlcol()
torow = wrows()
tocol = wcols()
endif
if wrows() < 34.538
modify window screen at 0,0 size 34.538,wcols()
endif
if wcols() < 127
modify window screen at 0,0 size wrows(),127
endif
MOVE WINDOW SCREEN CENTER
Thanks again
kadi

ENTIRE THREAD

Resolution For User's App Posted by Adel Kadi @ 6/14/2001 1:09:37 PM
RE: Resolution For User's App Posted by Ryss Unger @ 6/14/2001 2:26:12 PM
RE: Resolution For User's App Posted by John Zylstra @ 6/14/2001 2:39:43 PM
RE: Resolution For User's App Posted by Adel Kadi @ 6/14/2001 7:18:11 PM
RE: Resolution For User's App Posted by Boudewijn Lutgerink @ 6/14/2001 11:21:41 PM