TX Text Control ActiveX

Tables

Topic

Each table in a TXTextControl document has a table identifier. The members below insert, delete, split and merge tables, rows, columns and cells, read and set cell text, data, formulas and number formats, and tell you where the input position is.

Formulas in table cells use the functions listed under Supported Formula Functions.

Properties

MemberDescription
TXTextControl.FormulaReferenceStyleGets or sets a value determining how references to table cells in formulas are specified.
TXTextControl.IsFormulaCalculationEnabledGets or sets a value indicating whether formulas in tables are automatically calculated when the text of an input cell is changed.
TXTextControl.TableAtInputPosReturns the table identifier of the table containing the input position.
TXTextControl.TableCanChangeAttrThis property provides information about whether the attributes of all the selected table cells can be altered.
TXTextControl.TableCanDeleteColumnThis property provides information about whether table columns can be deleted.
TXTextControl.TableCanDeleteLinesThis property provides information about whether table lines can be deleted.
TXTextControl.TableCanInsertThis property provides information about whether a table can be inserted.
TXTextControl.TableCanInsertColumnThis property provides information about whether a table column can be inserted.
TXTextControl.TableCanInsertLinesThis property provides information about whether table lines can be inserted.
TXTextControl.TableCanMergeCellsThis property provides information about whether table cells can be merged.
TXTextControl.TableCanSplitChecks whether a table can be split.
TXTextControl.TableCanSplitCellsThis property provides information about whether table cells can be split.
TXTextControl.TableCellAttributeReturns or sets attributes of a table cell.
TXTextControl.TableCellDataReturns or sets a string associated with the specified table cell.
TXTextControl.TableCellFormulaReturns or sets the table cell's formula.
TXTextControl.TableCellLengthReturns the number of characters in a table cell.
TXTextControl.TableCellNumberFormatReturns or sets a number format for the table cell.
TXTextControl.TableCellStartReturns the character index (one-based) of the first character in a table cell.
TXTextControl.TableCellTextReturns or sets the text of a table cell.
TXTextControl.TableCellTextTypeReturns or sets the text type of the table cell which determines whether the cell's text is interpreted as a number or as text.
TXTextControl.TableColAtInputPosReturns the number of the current input column in a table.
TXTextControl.TableColumnsInforms about the number of columns a specified table contains.
TXTextControl.TableDescriptiveTextDefines a descriptive text for a table.
TXTextControl.TableGridLinesThis property determines whether or not grid lines in tables are visible.
TXTextControl.TableNestedLevelGets the nested level for the specified table.
TXTextControl.TableRowAtInputPosReturns the number of the current input row in a table.
TXTextControl.TableRowsInforms about the number of rows a specified table contains.

Methods

MemberDescription
TXTextControl.TableAttrDialogThis method invokes the built-in dialog box for setting table attributes and, after the user has closed the dialog box, specifies whether the user has changed something.
TXTextControl.TableCellSelectThis method can be used to select a table cell, a table row, a table column or a complete table.
TXTextControl.TableDeleteThis method can be used to delete a complete table from the document.
TXTextControl.TableDeleteColumnThis method deletes the currently selected table columns or the table column containing the text input position.
TXTextControl.TableDeleteLinesThis method deletes the currently selected table lines or the table line at the current input position.
TXTextControl.TableFromSelectionThis method returns the table identifier of the currently selected table.
TXTextControl.TableGetOuterThis method returns a table's outer table.
TXTextControl.TableGetOuterMostThis method returns a table's outermost table.
TXTextControl.TableInsertThis method inserts a new table in the text.
TXTextControl.TableInsertColumnThis method inserts a table column left or right of the column with the current input position.
TXTextControl.TableInsertDialogThis method opens a built-in dialog box which offers options to define a new table.
TXTextControl.TableInsertLinesThis member function inserts table lines above or below the table line with the current input position.
TXTextControl.TableMergeCellsThis method merges all selected table cells.
TXTextControl.TableNextThis method returns an enumeration number of the table that follows the specified table in the TXTextControl's current text.
TXTextControl.TableSelectCellsThis method can be used to select a rectangular part of a table defined through two table cells.
TXTextControl.TableSplitSplits a table below or above the current input position.
TXTextControl.TableSplitCellsThis method splits all selected table cells.

Events

MemberDescription
TXTextControl.TableCreatedOccurs after a new table has been created as a result of a text insertion via the clipboard.
TXTextControl.TableDeletedOccurs after a table has been deleted.
TXTextControl.TableFormatChangedOccurs after a table has been formatted with the built-in mouse-interface.