rvico TRichView Reference | Item Types | Table

TRVTableItemInfo.CreateEx

Top  Previous  Next

Creates a new TRVTableItemInfo object having nRows rows and nCols columns.

constructor CreateEx(nRows, nCols: Integer; AMainRVData: TCustomRVData);

Parameters:

nRows – count of rows.

nCols – count of columns.

RVDataRVData property of TRichView or TRichViewEdit, where you wish to insert this table.

Example

var table:TRVTableItemInfo;

...

table := TRVTableItemInfo.CreateEx(55, MyRichViewEdit.RVData);

table.Color := clYellow;

table.Cells[0,0].AddNL('Hello',0,0);

MyRichViewEdit.InsertItem('5x5 table', table);

 

See also methods:

Create.

See also methods of TCustomRichView:

AddItem.

See also methods of TCustomRichViewEdit:

InsertItem.


RichView © Sergey Tkachenko