Arbortext Command Language > Functions by Alphabetical Listing > tbl_insert_table_dlg
  
tbl_insert_table_dlg
[0|1] = tbl_insert_table_dlg([win])
This function displays the Select a Table Model dialog box in which you can choose a table model if the following conditions are true:
If your document type supports multiple table models.
set prompttablemodels is set to on.
The cursor is in a location in which it is valid to insert more than one table model.
Once you have chosen a table model, or, if your DTD doesn't support multiple table models, the Insert Table dialog box opens, in which you can specify table configuration options.
The function then attempts to insert the table at the cursor location in the document shown in window win (or in the active window if win is omitted).
The function returns 0 if a table cannot be inserted at the cursor location. It returns 1 if a table is inserted.
Related Topics
set prompttablemodels
tblmodelprompthook
tbl_model_prompt callback type