Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Overide this
Message
De
17/02/2019 12:59:09
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2016
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01666476
Message ID:
01666479
Vues:
104
Hi All,

After doing a little digging, I find I have to access the AutoScaleMode and Font properties in System.Windows.Forms.dll.

Here's the C# code to do this:

this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Pixel, ((byte)(0)));

...but I need the VFP equivalent. Can someone point me in the right direction?

Thanks.

Luke
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform