Inserting row into table if table not in focus
Posted: Tue Oct 23, 2007 10:53 am
How I can insert one or more rows into table, if cursor currently at another item? Cell not focused. ItemNo is known.
Support forums for TRichView, ScaleRichView, Report Workshop and RVMedia components
https://writeally.com/forums/
Code: Select all
var Data: Integer;
rve.BeginItemModify(ItemNo, Data);
with rve.GetItem(ItemNo) as TRVTableItemInfo do
InsertRows(RowCount, 1, RowCount-1);
rve.EndItemModify(ItemNo, Data);
rve.Change;