Page 1 of 1

Picture and Table resize out of page border

Posted: Sun Apr 05, 2009 10:06 pm
by pawnflakes
Hi Sergey

I am able to resize Pictures and Tables outside the right page border - how can I prevent this?

Thank You

Posted: Tue Apr 07, 2009 12:33 pm
by Sergey Tkachenko
Try processing OnItemResize and call Undo if necessary.

Picture and Table resize out of page border

Posted: Tue May 12, 2009 6:32 am
by pawnflakes
Hi Sergey

Do you have a demo on how this can be accomplished as there's not much information on how this can be done? I don't want tables and pictures to be resized over the document margins..

Thank You

Posted: Tue May 12, 2009 11:35 am
by Sergey Tkachenko
Do you use TRichView or ScaleRichView?

Picture and Table resize out of page border

Posted: Tue May 12, 2009 6:26 pm
by pawnflakes
DBSRichviewEdit

Posted: Tue May 12, 2009 6:50 pm
by Sergey Tkachenko
Ilya said that he will add an option to restrict item resizing in the next update of ScaleRichView.

Posted: Sat Jun 13, 2009 4:34 pm
by proxy3d
It is added. In the following updating SRV there is global variable SRVItemResizeMode.

Mode:
srvrsUnrestricted, srvrsTextArea, srvrsPageWidth

Posted: Sat Jan 30, 2010 1:50 pm
by pawnflakes
Hi

I have added SRVItemResizeMode:= srvrsTextArea; in the OnFormCreate section and I am still able to resize a table outside the border?

Posted: Sat Jan 30, 2010 1:55 pm
by pawnflakes
Resizing pictures works properly but not for tables.

Posted: Tue Feb 02, 2010 12:17 pm
by Sergey Tkachenko
Yes, it is possible to resize tables outside the text area. But it is possible in MS Word as well.