Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Overide this
Message
From
17/02/2019 12:59:09
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2016
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01666476
Message ID:
01666479
Views:
103
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
Previous
Reply
Map
View

Click here to load this message in the networking platform