Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LABEL color class
Message
From
29/10/2004 15:17:50
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00951785
Message ID:
00955930
Views:
16
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform