TX Text Control ActiveX

SectionFormatDialog Method

Method

This method invokes the built-in dialog box to set page settings and to design the headers and footers either for the whole document or for a single section.

Introduced: 14.0.

Syntax

TXTextControl.SectionFormatDialog ActiveTab

Parameters

ParameterDescription
ActiveTabSpecifies 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 page margins, page size and orientation.
1The dialog box shows the tab for setting headers and footers.
2The dialog box shows the tab for setting column attributes.
3The dialog box shows the tab for setting page borders.

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

See Also