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

RTF_SetAlign

Previous pageReturn to chapter overviewNext page

 

Description

 

Set alignment to current selected text or at current caret paragraph position.

 

Syntax

 

RTF_SetAlign(hWnd, ctrlID, Align)

 

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

Align

Number

No

One of the following equates: %PFA_LEFT, %PFA_RIGHT, %PFA_CENTER.

 

Remarks

 

Restrictions

 

See also

 

Examples