Description
Displays a built-in Insert Table dialog (as shown below) for users to insert a table by themselves.
Applies to
Syntax
long rtename.TableInsertDialog()
Return value
Long. The function does not return value until the Insert Table dialog is closed.
Returns the ID of the table if the table is inserted successfully.
Returns 0 if an error has occurred or the table could not be inserted. Note that tables cannot be inserted when some text has been selected.
Returns -1 if the new table has been inserted at the top or at the bottom of an existing table. In this case the new table is combined with the existing table.
Returns null if any argument is null.
Examples
The following example opens the Insert Table dialog for inserting a table.
long ll_rtn ll_rtn = rte_1.TableInsertDialog()