TerCreateTable
Create a text table.
boolean TerCreateTable( row, col, repaint)
boolean TerCreateTable2( row, col, AutoWidth, repaint)
int row; | number of text rows in the table. |
int col; | number of text columns in the table |
boolean AutoWidth; | Set to TRUE to let the table cell automatically expand as the user types text into a table cell. This parameter is applicable to only the TerCreateTable2 method. |
boolean repaint; | Repaint the window after this operation |
Description: This function is used to create a text table. The number of rows and columns are specified by the 'row' and 'col' arguments. Specify a -1 value for the 'row' if you wish to activate a user dialog for the row and column selection.
The table is inserted after the current line. After this operation the cursor is placed in the first cell of the table.
Please note that the PageMode must be turned on at the design-time for this function to work properly. If the PageMode is not turned on, the tables are displayed as a series of dashed lines.
Return Value: This function returns true if successful.