Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Capture the Screen Font and Width
Message
De
04/03/2002 18:00:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Capture the Screen Font and Width
Divers
Thread ID:
00628140
Message ID:
00628140
Vues:
50
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform