TXTextControl.TextControl.TableFormatDialog Method

Invokes the built-in dialog box for setting formatting attributes of tables. The TableCollection.GetItem method can be used to test whether a table is selected or not.


Opens the dialog box showing its first tab.

public DialogResult TableFormatDialog();
[Visual Basic]
Public Function TableFormatDialog() As DialogResult


Opens the dialog box showing the specified tab.

public DialogResult TableFormatDialog(int activeTab);
[Visual Basic]
Public Function TableFormatDialog(activeTab as Integer) As DialogResult
Parameter Description

Specifies the index of the tab, zero-based, that is displayed when the tabbed dialog box is opened. If this parameter is 0, the dialog box shows the tab for setting frame lines, color and distances, and if this parameter is 1, the dialog box shows the tab for setting vertical size and alignment.

Return Value

If the dialog has been left with the Cancel button the return value is DialogResult.Cancel. Otherwise, it is DialogResult.OK.

See Also