hi, i'm using TRichView for BCB6.
I need to create a RichView that have pre-setted dimension with no horizontal and vertical scrollbar, in wich load from file a text to put in until it can be fitted.
the remaining overflow text must go to another RichView, and another, another until all text of file is putted.
how could i do ?
thanks and sorry for my bad english
RichView no resizable and linked to another for overflow
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
There is no direct solution for this.
Removing scrollbars - set HScrollVisible and VScrollVisible to False.
Changing height to document width - use DocumentHeight property (it does not include a double border width)
I believe, you can add document paragraph by paragraph, using FormatTail to reformat newly added paragraph. If DocumentHeight exceeds the specified value, delete the last added paragraph (DeleteParas) and proceed with next RichView.
Removing scrollbars - set HScrollVisible and VScrollVisible to False.
Changing height to document width - use DocumentHeight property (it does not include a double border width)
I believe, you can add document paragraph by paragraph, using FormatTail to reformat newly added paragraph. If DocumentHeight exceeds the specified value, delete the last added paragraph (DeleteParas) and proceed with next RichView.