Page 1 of 1

Restrict to a single page ?

Posted: Sun Nov 23, 2008 6:04 pm
by jonjon
Hi there,

Would it be possible to restrict the ScaleRichView to a single page ? I was hopping for a "Cancel" property in the "OnPageCountChanged" event for example.

What do you think ?

Best regards,

John.

Posted: Mon Nov 24, 2008 6:23 pm
by Sergey Tkachenko
Sorry, no. The idea may still be the same as in TRichViewEdit: in OnChange, check PageCount property, and if it is greater than 1, call Undo.