Please enable JavaScript to view this site.

thinBasic Help Manual

* * HELP & MANUAL PREMIUM PACK 4 DEMO VERSION * *

This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.

This version is copyright and may only be used for local testing purposes. It may not be distributed.

Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.

 

Description

 

Append a text buffer at the end of the rich edit control.

 

Syntax

 

RTF_AppendText(hWnd, ctrlID, sBuffer [, lOption])

 

Returns

 

None

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the Rich Edit control

ctrlID

Number

No

Control identifier assigned to the control during CONTROL ADD ...

sBuffer

String

No

String expression containing the text to append

lOption

Number

Yes

One of the following possible values:

%RTF_UBBssBuffer will be analyzed in order to interpret possible presence of simple UBB like formatting codes like:
 

[B][/B]

for start/end bold

[I][/I]

for start/end italic

[U][/U]

for start/end underline

[S][/S]

for start/end strikeout

[LEFT]

for left align

[CENTER]

for center align

[RIGHT]

for right align

[SIZE=xx]

set font size

[FONT=FontName]

set font

[COLOR=n][/COLOR]

for foreground color blocks

n is the color number

 

n can be specified in r,g,b format like:

[COLOR=125,56,32]

 

n can be specified using a color name taken from predefined color equates

 

[BCOLOR=n][/BCOLOR]

for background color blocks

n is the color number

 

n can be specified also in r,g,b format like:

[BCOLOR=125,56,32]

 

n can be specified using a color name taken from predefined color equates

 

[CCOLOR=n]

for control background color

n is the color number

 

n can be specified also in r,g,b format like:

[CCOLOR=125,56,32]

 

n can be specified using a color name taken from predefined color equates

 

 





 

Remarks

 

Restrictions

 

See also

 

Examples

 

 

Created with Help+Manual 8 and styled with Premium Pack Version 4 © by EC Software