trichview.com

trichview.support




Re: About undo/redo and resizing picture..?


Return to index


Author

Message

Sergey Tkachenko

Posted: 07/04/2002 10:43:36


Use SetItemExtraIntPropertyEd.


SetItemExtraIntProperty cannot be undone/redone and require Format.

Please reade more information about SetItemExtraIntPropertyEd in readme.txt




> I use

>

> if rve.CurItemStyle in [rvsPicture, rvsHotPicture] then begin

>  MyRichViewEdit.BeginUndoGroup(rvutModifyItem);

>  MyRichViewEdit.SetUndoGroupMode(True);

>  RichViewEdit1.SetCurrentItemExtraIntProperty(rvepImageHeight, 100,

False);

>  RichViewEdit1.SetCurrentItemExtraIntProperty(rvepImageWidth, 100, True);

>  MyRichViewEdit.SetUndoGroupMode(False);

> end;

>

> how i can intercept when user redo the old picture size? I've tried with

> OnControlAction & OnItemAction but nothing is called ? Any suggestions?

> Thanks!

>

>

>

>

>





Powered by ABC Amber Outlook Express Converter