How to determine the Table. cells [0, 0] is empty?(cells [0, 0] is the RTF format)
thank you.
How to determine the Table. cells [0, 0] is empty?
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Normally, empty cells have a single empty text items.
Code: Select all
function IsEmpyCell(Cell: TRVTableCellData): Boolean;
var RVData: TCustomRVData;
begin
RVData := Cell.GetRVData;
Result := (RVData.ItemCount = 0) or
((RVData.ItemCount = 1) and (RVData.GetItemStyle(0) >= 0) and
(RVData.GetItemText(0)=''));
end;
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: