|
TRVTableItemInfo |
Top Previous Next |
|
TRVTableItemInfo is a class representing table in TRichView documents. This is not a component. Objects of this class are created at runtime and appended to TRichView (see AddItem) or inserted into TRichViewEdit (see InsertItem). Style of this item type: rvsTable (-60) Unit RVTable. Syntax TRVTableItemInfo = class (TRVFullLineItemInfo) Hierarchy TObject TPersistent TRVNonTextItemInfo TRVFullLineItemInfo Overview See overview topics about tables. Properties The most of properties of this class are published. These properties can be saved/loaded in RVF files or streams. The main property of TRVTableItemInfo is Cells. The number of rows is RowCount, number of columns is ColCount. Properties of rows are available via Rows property. Width of table can be defined using BestWidth property. Properties defining border around the table:
Properties defining default border around cells: Properties defining spacing between cells:
Background properties:
Border colors: Rules: Export: Other properties:
Methods See operations on tables. Events Tables are not components, so events cannot be assigned at design time in the Object Inspector. They must be assigned from code, when the table is created. Events cannot be saved with tables in RVF files or streams. Reassign them when tables are loaded, use TRichView.OnItemAction event. Events: Related Global Typed Constants |