FontName, FontSize, TextColor and FillColor of a WebTextArea?

Is it possible to set the FontName, FontSize, TextColor and FillColor of a WebTextArea?

Sure thing. This is in the opening event of a WebTextArea:

me.Style.Value( "font-family" ) = "cursive"
me.Style.Value( "font-size" ) = "18"
me.Style.Value( "color" ) = "#0f0"
me.Style.Value( "background-color" ) = "#f0f"

Or

me.Style.FontName = "cursive"
me.Style.FontSize = 18
me.Style.ForegroundColor = &c00ff00
me.Style.BackgroundColor = &cff00ff

3 Likes

Thank you @Anthony_G_Cyphers

2 Likes