TE Edit Control .NET Core / .NET Framework Help
Product page

TerDeleteCellText

Delete cell contents.

bool TerDeleteCellText(select, repaint)
int select;This flag can be set to one of the following values:
SEL_CELLS:Delete the contents of the current cell or all selected cells.
SEL_ROWS:Delete the contents of the current row or all selected rows.
SEL_COLS:Delete the contents of the current column or all selected columns.

You can set the 'select' parameter to 0 to invoke a dialog box to accept this parameter from the user.

bool repaint;repaint the screen after this operation.

Comment: This function deletes the contents of the table cell, but the table structure is not affected.

Return Value: This function returns TRUE when successful.