TX Text Control ActiveX

TableAttrDialog Method

Method

This method invokes the built-in dialog box for setting table attributes and, after the user has closed the dialog box, specifies whether he has changed something.

Syntax

TXTextControl.TableAttrDialog [ActiveTab]

Parameters

ParameterDescription
ActiveTabOptional. Specifies the index of the tab, zero-based, that is displayed when the tabbed dialog box is opened. The following values are possible:

ActiveTab

ValueDescription
0The dialog box shows the tab for setting frame lines, color and distances.
1The dialog box shows the tab for setting the vertical size and alignment.
2The dialog box shows the tab for setting formulas and number formats.

Return Value

The method returns True when the user has changed one or more attributes. The method returns False when the formatting remains unchanged.

Data Types

NameData type
ActiveTabInteger
Return valueBoolean

Remarks

The changes, made in the dialog box, apply to the currently selected text.

See Also