rvico TRichView Reference | Global constants and variables

RichViewTableGridStyle, RichViewTableGridStyle2, RichViewTableGridColor Typed Constants

Top  Previous  Next

Typed constants defining grid for all tables.

Unit RVTable.

Syntax

const

  RichViewTableGridStyle:  TPenStyle = psDot;

  RichViewTableGridStyle2: TPenStyle = psClear;

  RichViewTableGridColor:  TColor = clBtnFace

RichViewTableGridStyle – pen style for drawing invisible borders of tables in editing mode. You can hide grid in all tables assigning psClear to this variable.

RichViewTableGridStyle2 – pen style for drawing invisible borders of tables in TRichView or in TRichViewEdit in read-only mode.

RichViewTableGridColor – pen color for drawing invisible borders of tables.

Table borders can be invisible in the following cases:

their width is 0 (see BorderWidth and CellBorderWidth properties);
some sides are hidden (see VisibleBorders and Cell.VisibleBorders properties).

You can hide/show table grid for the specific table, see rvtoHideGridLines in Options property.


RichView © Sergey Tkachenko