TXTextControl.TXTextControl.SectionFormatDialog 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
Parameter Description
ActiveTab

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


Value Description
0 The dialog box shows the tab for setting page margins, page size and orientation.
1 The dialog box shows the tab for setting headers and footers.
2 The dialog box shows the tab for setting column attributes.
3 The dialog box shows the tab for setting page borders.

Return Value

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

Data Types

ActiveTab: Integer
Return value: Boolean

See Also