trichview.com

trichview.support




Insert Object at the end of cell


Return to index


Author

Message

Frank van den Bergh

Posted: 07/09/2004 13:23:41


Dear Sergey,


I want to insert objects in a table cell (the caret may be elsewhere). When

there are objects and the to be inserted object must not placed at the end,

I can make use of the cell's SetSelectionBounds(DropPosition, 0,

DropPosition, 0) and then calling Edit and RichViewEdit1.InsertControl.


But I didn't succeed in inserting at the end (you recommended not to use the

Addxxx). I tried the suggestion from the helptext (ItemNo := ItemCount-1;

Offs := GetOffsAfterItem(ItemNo); .SetSelectionBounds(ItemNo, Offs, ItemNo,

Offs);) However no luck.


Suggestions?


Thanks,


Frank





Powered by ABC Amber Outlook Express Converter