>>>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