trichview.com

trichview.support




Re: SetControlInfoEd with in the table


Return to index


Author

Message

Sergey Tkachenko

Posted: 07/26/2002 20:24:49


Hi,


Use SetCurrentControlInfo instead of SetControlInfoEd.


Items in cells are not items of the main document, they cannot be addressed

by an itemindex (CurItemNo).

When editing cells, richview creates a special editor and move all cell

contents there.


Alternative (in the latest version):


sender->TopLevelEditor->SetControlInfoEd(sender->TopLevelEditor->CurItemNo,

...)



>

> Hi,

>

> When i implement the DragAndDrop i can drag and drop the source e.g.

txtfile,

> images etc; into to the RVE, but if i try to put the source inside the

table.

> it will pop up the msg is "Can get or set this kind of information for

this

> item."

>

> sender->InsertControl(imgName, image,rvvaBaseline);

>

> // if table warning msg. //

> sender->SetControlInfoEd(sender->CurItemNo,imgName,rvvaBaseline,1);

>

> ender->ResizeCurrentControl(width, height);

>

>

> can anyone help.

>

> Thanks a lot.





Powered by ABC Amber Outlook Express Converter