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

RTF_SetFontName

Previous pageReturn to chapter overviewNext page

 

Description

 

Set font to current selected text or at current caret word or at current caret position.

 

Syntax

 

RTF_SetFGColor(hWnd, ctrlID, FontName)

 

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

FontName

String

No

Name of the font to apply.

 

Remarks

 

Restrictions

 

See also

 

Examples