Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Specify font in form
Message
De
19/05/2010 17:35:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01465073
Message ID:
01465177
Vues:
65
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform