|
Specifies options for the table.
type
TRVTableOption = (rvtoEditing,
rvtoRowSizing, rvtoColSizing,
rvtoRowSelect, rvtoColSelect,
rvtoNoCellSelect,
rvtoRTFSaveCellPixelBestWidth,
rvtoHideGridLines,
rvtoCellBelowBorders,
rvtoOverlappingCorners,
rvtoRTFAllowAutofit,
rvtoIgnoreContentWidth,
rvtoIgnoreContentHeight);
TRVTableOptions = set of TRVTableOption;
property Options: TRVTableOptions;
Default value
[rvtoEditing, rvtoRowSizing, rvtoColSizing, rvtoRowSelect, rvtoColSelect]
Options for Editing
Option
|
Meaning
|
rvtoEditing
|
If set (default), users can edit content of cells using .
(table must be inserted in TRichViewEdit or TDBRichViewEdit)
|
Options for Resizing and Selection
Option
|
Meaning
|
rvtoRowSizing
rvtoColSizing
|
If set (default), users can resize individual rows/columns with the mouse.
(table must be inserted in TRichViewEdit or TDBRichViewEdit)
|
rvtoRowSelect,
rvtoColSelect
|
If set (default), user can select rows/columns by clicking on the left/top border of the table (when cursor has a special vertical/horizontal arrow shape)
The options have no effect if the table is inserted in RichView with rvoAllowSelection excluded from Options.
|
rvtoNoCellSelect
|
If set, multicell selection by mouse is not allowed (remove also rvtoRowSelect and rvtoColSelect to disallow making multicell selection completely.
|
Layout Options
Option
|
Meaning
|
rvtoIgnoreContentWidth
|
If set, contents of cells are completely ignored when calculating widths of table columns.Wide pictures, controls, etc. are clipped.
|
rvtoIgnoreContentHeight
|
If set, heights of rows are calculated basing only on BestHeight properties of cells.
But (unlike rvtoIgnoreContentWidth), heights of cells having BestHeight=0 are still calculated basing on their content.
|
Visual Options
Option
|
Meaning
|
rvtoHideGridLines
|
If not set (default), invisible borders are shown as gray lines when table is inserted in editor (see also RichViewTableGridStyle and RichViewTableGridColor variables) This grid is always invisible in viewer and when printing.
|
rvtoCellBelowBorders
|
If not set (default), space below invisible side of border has color of tables. If set, color of cell is used.

|
rvtoOverlappingCorners
|
If not set (default), colored borders (CellBorderStyle=rvtbColor) have three-dimensional appearance. If not set, they are flat.
The effect can be noticed for wide borders with some invisible sides.

|
RTF Export Options
Option
|
Meaning
|
rvtoRTFAllowAutofit
|
If set, cells with undefined widths (BestWidth=0) are exported to RTF as fit-by-content cells.
|
rvtoRTFSaveCellPixelBestWidth
|
Explained in table RTF export. Off by default.
|
|