Search found 9410 matches

by Sergey Tkachenko
Sun Feb 05, 2006 9:32 pm
Forum: Support
Topic: RichView no resizable and linked to another for overflow
Replies: 1
Views: 9406

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...
by Sergey Tkachenko
Sun Feb 05, 2006 9:27 pm
Forum: Support
Topic: Adding Tables at the end while building document
Replies: 1
Views: 9621

For document generation, use Add*** methods, and then call Format.
For tables, use AddItem method:

Code: Select all

...
table.ParaNo := <index of paragraph style>;
rv.AddItem('', table);
by Sergey Tkachenko
Sat Feb 04, 2006 8:40 am
Forum: Support
Topic: Intercepting pasted content
Replies: 6
Views: 19100

OnPaste event.
In this event, you can insert data in your own format, and set DoDefault parameter to False to prevent default pasting.
by Sergey Tkachenko
Fri Feb 03, 2006 3:19 pm
Forum: Support
Topic: Function at same as "Memo.Text" ?
Replies: 3
Views: 14390

See the functions in RVGetText.pas.
Or, if you need one-to-one correspondence between the document and the resulting string, functions from RVLinear.pas
by Sergey Tkachenko
Thu Feb 02, 2006 10:07 pm
Forum: Support
Topic: TppRichView - Border
Replies: 2
Views: 11700

Are these borders a new feature of RB9?
by Sergey Tkachenko
Thu Feb 02, 2006 9:10 am
Forum: Support
Topic: Getting and Setting CustomColors on RVAction ColorDialog
Replies: 2
Views: 12381

Just create a ColorDialog and assign it to the ColorDialog property of TRVAControlPanel component. (Note: there should be only one instance of TRVAControlPanel, you can place it on the main form). If this property is assigned, the specified color dialog is used. If not assigned, temporal dialogs are...
by Sergey Tkachenko
Wed Feb 01, 2006 3:40 pm
Forum: Support
Topic: richviewactiions won't install
Replies: 1
Views: 10643

Directory with RichView files (including RV_Defs.inc) must be added in the Delphi library paths list.
For Delphi 2-7, this list is in: menu Tools | Environment Options, tab Library, Library path.
Directory with RichViewActions files must be added there as well.
by Sergey Tkachenko
Tue Jan 31, 2006 7:22 pm
Forum: Support
Topic: Clarification regarding styles needed
Replies: 2
Views: 11116

For a typical rich text editor based on TRichViewEdit, new styles are created dynamically in OnStyleConversion/OnParaStyleConversion events. You can either use RichViewActions ( http://www.trichview.com/resources/actions/ ) or implement these events yourself (see Demos\Delphi\Editors\Editor 2\) Do n...
by Sergey Tkachenko
Tue Jan 31, 2006 7:16 pm
Forum: Support
Topic: Clarification regarding styles needed
Replies: 2
Views: 11116

RTF and RVF import tries to reuse existing styles if possible. When importing RVF files, all properties are taken into account, including protection. When importing RTF, protection property is ignored, and yes, protected styles can appear in the loaded/inserted text. I can imagine two solutions: - t...
by Sergey Tkachenko
Tue Jan 31, 2006 7:02 pm
Forum: Support
Topic: Rolling my own Styles combobox/list
Replies: 1
Views: 9313

It makes sense to add only styles having Standard property = True. All styles added as a result of editing operations have Standard=False, so editing operations do not change items of such list. List of styles may be changed only when you load a new RVF document. For changing ItemIndex, use RichView...
by Sergey Tkachenko
Tue Jan 31, 2006 12:14 pm
Forum: Support
Topic: Cells longer than a page length
Replies: 5
Views: 18802

Sorry, no. As soon as it will be possible.
by Sergey Tkachenko
Tue Jan 31, 2006 11:51 am
Forum: Support
Topic: RVStyle.ListStyles overridden/lost
Replies: 1
Views: 9447

Please send me a project (as simple as possible) reproducing this problem.
by Sergey Tkachenko
Tue Jan 31, 2006 11:49 am
Forum: Support
Topic: Draw only after all changes?
Replies: 4
Views: 16784

No, TRichView is not faster than TRichViewEdit (if you will use the same methods for them).
by Sergey Tkachenko
Tue Jan 31, 2006 11:44 am
Forum: Support
Topic: Custom Filter in RichViewActions Open and SaveAs
Replies: 1
Views: 9955

TrvActionOpen has LastFilterIndex as a public property. This property specifies the filter index (starting from 1) which will be used by default when the action will be executed next time.

You can set initial value of this property.