TE Edit Control Java / HTML-JavaScript Help
Product page

TerCellBorder

Set the borders for the table cells.

boolean TerCellBorder( select, TopWidth, BotWidth, LeftWidth, RightWidth, repaint)
boolean TerCellBorder2( select, TopWidth, BotWidth, LeftWidth, RightWidth, outline, 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.

int TopWidth;Width of the top border in twips.
int BotWidth;Width of the bottom border in twips
int LeftBorder;Width of the left border in twips
int RightBorder;Width of the right border in twips
boolean outline;Set to True to draw the outline around the selected cells.
boolean repaint;true to repaint the screen after this operation

Description: The cursor must be positioned in a table cell before calling this function. The maximum border width should be less than the cell text margin. Any width parameter can be set to -1 to leave the current value unchanged.

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