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

 

GET/SET RichEdit text.

 

Syntax

 

' Set

sText = <richeditName>.Text

 

' Get

<richeditName>.Text = sText [, TextType [, Append]]

 

Returns (Get only)

 

String, text contents.

 

Parameters (Set only)

 

Name

Type

Optional

Meaning

TextType

Number

Yes

One of the following equates:

%SF_TEXT (Default)

%SF_RTF

%RTF_UBB sBuffer 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

 

Append

Number

Yes

%TRUE or %FALSE indicating if text is to be appended to current text present in control

 

Remarks

 

Restrictions

 

See also

 

Examples

 

 

 

 

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