Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Capture the Screen Font and Width
Message
From
04/03/2002 18:00:25
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Capture the Screen Font and Width
Miscellaneous
Thread ID:
00628140
Message ID:
00628140
Views:
51
I seems that WCOLS() in the window resulting from the code below is a function of the Screen Font in effect at the time the window is defined
  lnWinWidth = MAX(16,4+lnMaxWidth*lnColsNeeded)
  DEFINE WINDOW (lcWinName);
   FROM 1,0 ;
   TO IIF(lnColsNeeded > 1,24,ALEN(laItems)+4),lnWinWidth;
   TITLE "Check Items As Needed" ;
   FONT "Fixedsys", 9 ;
   NOFLOAT ;
   NOCLOSE ;
   NOMINIMIZE ;
   SYSTEM ;
   COLOR RGB(0,0,0,198,198,198)
In FPW 2.6 is there some way of determining the current SCREEN settings so that I can capture, change, and reset them when the utility ends?

Alternatively, is there some PUSH/POP combination which would allow me to save the settings and then restore them?

Thanks to all..........Rich
Next
Reply
Map
View

Click here to load this message in the networking platform