Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LABEL color class
Message
De
29/10/2004 15:17:50
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00951785
Message ID:
00955930
Vues:
17
>>>Ok, I did as you said and I got results! Now I want to change the font size and text, do I pass these as parameters?
>>>
>>
>>No, it's in the properties. Find these property on that class to change the text & style:
>>
>>Caption, FontName, FontSize, FontBold
>
>So it does not function like a regular label where I can set the font properties either programatically or visually?

Yes you can. Am I missing something ?

OK, let's try this. Put this code in the init event of the class that you dropped:
This.FontName = 'Tahoma'
This.FontBold = .T.
This.FontSize = 24
DoDefault()
Update:
I think I missed something. You can't change it "visually". I mean it will not show you what it will look like. Because the object is created when you run the form. You can only see the rectangle on development time.
Herman
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform