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

RTF_GetText

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the text present in rich edit control.

 

Syntax

 

sBuffer = RTF_GetTExt(hWnd, ctrlID, sType)

 

Returns

 

String

 

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 ...

sType

Number

No

Either %SF_TEXT or %SF_RTF specifies the text type to be retrieved.

 

Remarks

 

Restrictions

 

See also

 

Examples