Search found 9435 matches

by Sergey Tkachenko
Thu Sep 01, 2005 4:26 pm
Forum: Support
Topic: Stream problems using controls Developer Express Controls
Replies: 4
Views: 23259

Hmm, it should be safe to free the old control here.
Calling TRichView(Sender).RemoveControl(lOldCtrl) is not needed. What if you remove it?
by Sergey Tkachenko
Thu Sep 01, 2005 4:18 pm
Forum: Support
Topic: add multi Line text with Tag
Replies: 1
Views: 16645

There is no such method. Use AddNLATag for each text line
by Sergey Tkachenko
Thu Sep 01, 2005 2:05 pm
Forum: Support
Topic: Need to highlight all text that matches string
Replies: 1
Views: 15153

The seach selects the found string.
Call ApplyTextStyle or ApplyStyleConversion to change the selection font.
A simple example can be found in Demos\Delphi\MultiDemo\, the last subdemo.
by Sergey Tkachenko
Thu Sep 01, 2005 12:54 pm
Forum: Support
Topic: Deleting Blank Lines
Replies: 5
Views: 27281

Should it be an editing operation (that can be undone/redone by user)? If not, the code is below: procedure DeleteBlankLines(RVData: TCustomRVData); var i,r,c: Integer; table: TRVTableItemInfo; begin for i := RVData.ItemCount-1 downto 0 do if RVData.IsParaStart(i) and (RVData.GetItemStyle(i)>=0) and...
by Sergey Tkachenko
Thu Sep 01, 2005 12:26 pm
Forum: Support
Topic: Export Header/Footer to RTF
Replies: 24
Views: 70438

Well, really? :)

It's not so hard to make a "quick and dirty" solution for this problem.
So, if you are satisfied with other TRichView feature, consider this function done
by Sergey Tkachenko
Thu Sep 01, 2005 12:14 pm
Forum: Support
Topic: I have a problem whit Tables
Replies: 4
Views: 20732

Yes, this is a limitation of the current version of TRichView.
I plan to fix it in very near future
by Sergey Tkachenko
Wed Aug 31, 2005 7:36 pm
Forum: Support
Topic: Export Header/Footer to RTF
Replies: 24
Views: 70438

Unfortunately, it's not so trivial.

OnSaveRTFExtra can be used to save plain text headers, or headers with some simple formatting.

Saving arbitrary TRichView document as RTF header is not possible in the current version.
by Sergey Tkachenko
Wed Aug 31, 2005 7:31 pm
Forum: Support
Topic: Question concerning ChartItem & loadRTF
Replies: 1
Views: 14971

It's included in the main set of demos, for example in http://www.trichview.com/rvfiles/rvhelp.zip The directrory inside this zip is Demos\Addins\ChartItem\ It does not provide RTF saving of charts, but I can modify it to save them as pictures, it's very easy. But they will not be loaded as TCharts ...
by Sergey Tkachenko
Wed Aug 31, 2005 7:22 pm
Forum: Support
Topic: Problem with SaveHtml and SaveHtmlToStream functions in RV
Replies: 3
Views: 20393

HTML does not support complex numbering.

It's only possible to export it as a text (and MS Word does it).
TRichView can do it too: include rvsoMarkersAsText in Options of SaveHTML/SaveHTMLEx
by Sergey Tkachenko
Wed Aug 31, 2005 6:03 am
Forum: Support
Topic: No background at print, please!
Replies: 1
Views: 15679

RVPrint.TransparentBackground affects only the background color.
To remove the bitmap, call
RVPrint.rv.BackgroundBitmap := nil
after calling AssignSource.
by Sergey Tkachenko
Tue Aug 30, 2005 8:25 pm
Forum: Support
Topic: incorrect adding to undo list (continued)
Replies: 5
Views: 26374

If this problem can be reproduced, I think the simplest way to find the bug is logging a sequence of undo operations - when they were added, grouped, executed. I'll add this log feature in the next update (I'll try to upload it tomorrow)
by Sergey Tkachenko
Tue Aug 30, 2005 3:34 pm
Forum: Support
Topic: Relative hyperlinks
Replies: 9
Views: 43289

Well, really, on RTF import, TRichView adds the file path to relative links. In the next update for registered users (I hope to upload it today) I'll add a new property TRichView.RTFReadProperties.BasePathLinks: Boolean. It will work like the corresponding option of RVHtmlImporter - when set to Fals...
by Sergey Tkachenko
Tue Aug 30, 2005 1:05 pm
Forum: Support
Topic: Headers ans BCB6
Replies: 4
Views: 23481

TRVColorMode type is defined in the Rvstyle unit.
Probably the problem is again with the headers.
by Sergey Tkachenko
Tue Aug 30, 2005 1:02 pm
Forum: Examples, Demos
Topic: [How to] How to make plain text editor
Replies: 3
Views: 61293

[How to] How to make plain text editor

:?: How to make a plain text editor based on TRichViewEdit Exclude all but text from AcceptDragDropFormats property Process OnPaste event (see below) Disable all UI commands changing text and paragraph attributes procedure TForm1.rvePaste(Sender: TCustomRichViewEdit; var DoDefault: Boolean); var s: ...
by Sergey Tkachenko
Tue Aug 30, 2005 12:38 pm
Forum: Support
Topic: RVXML problem
Replies: 4
Views: 24888

DocRoot is taken from the XML tree:

MainRoot.Items.AddTag('document1', T.Items[0], T);
DocRoot := MainRoot.Items[MainRoot.Items.Count-1];