TE Edit Control Java / HTML-JavaScript Help
Product page

TerCellBorderColor

Set the borders color for the table cells.

boolean TerCellBorderColor( select, top, bot, left, right, repaint)
boolean TerCellBorderColorHtml( select, top, bot, left, right, repaint)
int select; Cell selection for this operation:
SEL_ALL:Select the entire table
SEL_CELLS: Select the current cell or all highlighted cells
SEL_COLS: Select the current column or all highlighted columns
SEL_ROWS:Select the current row or all highlighted rows

Set the 'select' parameter to 0 to invoke the user selection dialog box.

Color top;

Color for the top border. Set the this parameter to CLR_ERROR to leave it unchanged.

This parameter can also be passed an html String format to specify the color, ex: "red", "#FFFFFF"

Color bot;

Color for the bottom border. Set the this parameter to CLR_ERROR to leave it unchanged.

This parameter can also be passed an html String format to specify the color, ex: "red", "#FFFFFF"

Color leftr;

Color for the left border. Set the this parameter to CLR_ERROR to leave it unchanged.

This parameter can also be passed an html String format to specify the color, ex: "red", "#FFFFFF"

Color right;

Color for the right border. Set the this parameter to CLR_ERROR to leave it unchanged.

This parameter can also be passed an html String format to specify the color, ex: "red", "#FFFFFF"

boolean repaint;true to repaint the screen after this operation

Description: The cursor must be positioned in a table cell before calling this function.

Return Value: This function returns a true value if successful.