Navigation:  thinBasic Modules > UI (User Interface) > Dedicated Control Functions > RTF Control >

RTF_SetText

Previous pageReturn to chapter overviewNext page

 

Description

 

Substitute current rich edit content with a new text buffer.

 

Syntax

 

RTF_SetText(hWnd, ctrlID, sBuffer, sType)

 

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

sType

String

No

Either %SF_TEXT or %SF_RTF specifies the text type contained in the buffer

 

Remarks

 

Restrictions

 

See also

 

Examples