Restrict to a single page ?

ScaleRichView support and discussion (TRichView add-on for WYSIWYG editing)
Post Reply
jonjon
Posts: 467
Joined: Sat Aug 27, 2005 4:19 pm

Restrict to a single page ?

Post 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.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Post Reply