Page 1 of 1

Moved the topic "ScaleRichView - shareware..."

Posted: Mon Jul 23, 2007 9:29 pm
by Shane Stump
Sergey,

You might want to add an option to the demo to show in inches for the US market.

Is it real simple to replace a TRichView object with a TScaleRichView object?

Best Regards,

Shane

Posted: Tue Jul 24, 2007 3:29 pm
by proxy3d
You might want to add an option to the demo to show in inches for the US market.

Well, I shall add in ActionTest example, a choice of a unit of measure.

Posted: Tue Jul 24, 2007 3:31 pm
by Shane Stump
Thanks.

Is is a drop in placement? That is, if I already have a bunch of code written around TRichView, can I replace it with TScaleRichView without much effort?

Best Regards,

Shane

Posted: Tue Jul 24, 2007 3:44 pm
by Sergey Tkachenko
There should be no problems replacing TRichViewEdit to TSRichViewEdit. Just use TSRichViewEdit.RichViewEdit property to access internal TRichViewEdit. All operations on this TRichViewEdit will be reflected on TSRichViewEdit.
As you can see, all RichViewActions (initially designed for TRichViewEdit) work with TSRichViewEdit without changes (of course, except for printing actions).