How can I get Information after "RichViewEditGetCurrentPictureInfo"
- is a Table as container
- if yes , how can I get the cell-object
Thanks for any help
Andy
Get Table and Cell from GetCurrentPictureInfo
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
If the current picture is in a cell, this cell is being edited.
In this case, RichViewEdit1.TopLevelEditor<>RichViewEdit1, i.e. RichViewEdit1.TopLevelEditor is a cell inplace editor.
In this case, the cell is returned by
RichViewEdit1.TopLevelEditor.RVData.GetSourceRVData
(an object of TRVTableCellData class is returned).
(in case when cell is not being edited, RichViewEdit1.TopLevelEditor.RVData.GetSourceRVData returns RichViewEdit1.RVData).
In this case, RichViewEdit1.TopLevelEditor<>RichViewEdit1, i.e. RichViewEdit1.TopLevelEditor is a cell inplace editor.
In this case, the cell is returned by
RichViewEdit1.TopLevelEditor.RVData.GetSourceRVData
(an object of TRVTableCellData class is returned).
(in case when cell is not being edited, RichViewEdit1.TopLevelEditor.RVData.GetSourceRVData returns RichViewEdit1.RVData).