GetRichTextAlign

Description

Gets the current alignment setting for editing columns with the RichText edit style.

Applies to

DataWindow control

Syntax

Integer dwcontrol.GetRichTextAlign ( REF alignment align )

Argument

Description

dwcontrol

A reference to the DataWindow control

align

Current alignment setting of the selected text

Returns

Returns an integer to indicate whether the column that you selected has the RichText edit style and whether the content has one or more alignment types applied.

Usage

You can call this method from a button in a custom toolbar that you use to obtain current font settings for columns with the RichText edit style.

Examples

Example 1

This example obtains the current alignment setting to be used for editing columns with the RichText edit style:

Integer li_integer

Alignment l_align

li_integer = dw_1.GetRichTextAlign(l_align)

See also