Control_SetText

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Commands >

Control_SetText

 

Description

 

Set text into a control. Text can be UTF-8 string

This is an abbreviated form of CONTROL SET TEXT ...

 

Syntax

 

s = CONTROL_SetText(hwnd, ctrlID, sText)

 

Returns

 

String. The sText text expression

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier

sText

String

No

The text to send to the control

Text can be UTF-8 string

 

Remarks

 

Restrictions

 

See also

 

Examples