cancel
Showing results for 
Search instead for 
Did you mean: 

Static text's Style

CarlesCostaMun
Participant
0 Kudos

Hello everybody,

I'm looking for how to set color and font-size for a static text. How can I do?

Thanks

Carles

Accepted Solutions (0)

Answers (1)

Answers (1)

CarlesCostaMun
Participant

I've found it!

oItem = Me.Form.Items.Item("lbl")

oItem.FontSize = 25

oItem.ForeColor = 255

oItem.TextStyle = 1

oStaticText = oItem.Specific

oStaticText.Caption = "xxxx"

Thanks