Home
Products
Community
Manuals
Contact
Login or Signup

BlitzPlus Docs -> GUI - Category -> Text Areas -> FormatTextAreaText

FormatTextAreaText textarea,red,green,blue,flags[,pos,len,units]

Parameters:

textarea - A textarea gadget handle
red,green,blue - color components in the range 0 to 255.
flags - bold/italic flags
pos,len - Starting position and length of text to format. These default to the entire text.
units - Units specifier: 1=characters (the default), 2=lines

Description:

Possible values for flags are:

1: bold
2: italic
3: bold+italic


Comments

TAS(Posted 1+ years ago)
A FormatTextAreatext command used to format a specific line (or characters) will over rule any subsequent FormatTextAreatext commands that apply to the whole Textarea. To undo or replace a line Format you must reformat just that line with a call to FormatTextAreatext for that line.


BlitzPlus Manual Forum

Blitz3D Equivalent Command