trichview.com

trichview.support




Re: Using TRichview/Edit control as textbox


Return to index


Author

Message

Sergey Tkachenko

Posted: 02/23/2002 15:45:13


> 1. Using a TRichview/Edit control as a textbox, with a property linking to

> a next TRichview/Edit control, so instead of text being scrolled, only as

> much as can fit in the size of the control is displayed, the rest is

displayed

> by the next TRichview/Edit control, starting at the point where the

previous

> one ended. (Like text boxes in Microsoft Publisher) Not sure how much of

> an undertaking this would be. Maybe you have some ideas ? Easy or

difficult

> ?


And what is such thing intended for?

I never seen MS Publisher.


>

> 2. How can I print the contents of a TRichview/Edit control to specific

coordinates

> on a canvas ? (PaintTo works, but is not scaled properly) This would tie

> in with (1).


"

http://www.trichview.com/support/files/toimage.zip

This demo shows two ways of drawing RichView on [metafile] canvas:

- using RichView

- using RVReportHelper (preferred)

"


It does not provide scaling and positioning.

But you can use SetWindowExtEx, SetViewportExtEx,  SetViewportOrgEx.

See a source code of TCustomRVPrint.DrawPreview.


>

> BTW, can you give ROUGH time frame for your list of priorities & release

> of next beta ?


It's better not to do it, errors in terms may be too large.


>

> Great work!

> Regards to everyone

> Cursor





Powered by ABC Amber Outlook Express Converter