Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Specify font in form
Message
From
19/05/2010 17:35:53
 
 
To
19/05/2010 02:44:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01465073
Message ID:
01465177
Views:
64
>How would i assign a font and font size to this form.
>tnx
>k
>
>
>Define Class form1 As Form
>
>
>	Top = 23
>	Left = 248
>	Height = 300
>	Width = 375
>	DoCreate = .T.
>	ShowTips = .T.
>	Caption = "My Form"
>	Name = "Form1"
>
Hi,

a very elegant solution is the class made by Greg : styles.vcx This can be found on his webpage : http://www.glrsoftware.com/download.asp

You have to look in the Download section for "Class Libraries - Form Level" in this section you go for "Changing Colors and Styles of controls at run-time.

If you compose your form or formclass visualy, after all this Visual FoxPro, and not programmatically, just drop Greg's style object on your form and you are done.
You dont have to take care of any other object on your form the will all follow the settings in Style. A very handy piece of coding.

Koen
Previous
Reply
Map
View

Click here to load this message in the networking platform