trichview.support
Re: Nested tables |
Author |
Message |
Sergey Tkachenko |
Posted: 12/02/2004 21:45:14 RichViewEdit1.InplaceEditor.Left and .Top - coordinates of the first cell (client coordinates in RichViewEdit1) RichViewEdit1.InplaceEditor.InplaceEditor.Left and .Top - coordinates of the second cell (client coordinates in RichViewEdit1.InplaceEditor) table1 := TRVTableInplaceEdit(RichViewEdit1.InplaceEditor).FCell.GetTable - the first table table2 := TRVTableInplaceEdit(RichViewEdit1.InplaceEditor.InplaceEditor).FCell.GetTabl e - the second table. Coordinates of the first table in the document: RichViewEdit1.GetItemCoords(table1.GetMyItemNo, Left, Top); Coordinates of the second table in the first cell: RichViewEdit1.InplaceEditor.GetItemCoords(table2.GetMyItemNo, Left, Top); See also GetItemClientCoords. > > How can I get the parent table and parent cell coordinates of a nested table > ? > > I have 2 or more nested tables and I would need to know the sequence of cell > coordinates where the caret is from the inner table to the most outer one. > > Thanks |
Powered by ABC Amber Outlook Express Converter