Search found 7172 matches

by Sergey Tkachenko
Tue Sep 06, 2005 5:18 pm
Forum: Examples, Demos
Topic: [Example] Modification of "Search and Mark" demo
Replies: 16
Views: 105298

[Example] Modification of "Search and Mark" demo

"Search & Mark" - the last subdemo of the demo located in Demos\Delphi\Multidemo\. It searches for the given word in text and marks all its occurences by applying the specified text style: rve.SetSelectionBounds(0,rve.GetOffsBeforeItem(0), 0, rve.GetOffsBeforeItem(0)); while rve.SearchText(txt.Text,...
by Sergey Tkachenko
Tue Sep 06, 2005 1:33 pm
Forum: Support
Topic: Error on SaveText
Replies: 2
Views: 6648

This error occurs if a string that is supposed to contain Unicode text does not contain it. It is a result of incorrect document generation. Check - may be you use AddNL or SetItemText to add/modify text of Unicode style. It will lead to the corrupted document. Use AddNLATag (or AddNLWTag) and SetIt...
by Sergey Tkachenko
Tue Sep 06, 2005 1:29 pm
Forum: Support
Topic: Printing of labels
Replies: 1
Views: 5725

Actually, the possibility of printing several documents on one page already exists (but not documented): Printer.BeginDoc; RVPrint.StartAt := 0; RVPrint.TransparentBackground := True; RVPrint.AssignSource(RichView1); RVPrint.FormatPages(rvdoALL); RVPrint.ContinuousPrint; RVPrint.StartAt := RVPrint.E...
by Sergey Tkachenko
Tue Sep 06, 2005 10:29 am
Forum: Support
Topic: Problem positioning bullets
Replies: 1
Views: 5514

There were no known problems related to the bullet positioning. Please note that for bulleted paragraphs, LeftIndent and FirstIndent properties of paragraph style are ignored, and corresponding properties of list level are used. To set the position of the bullet itself, use MarkerIndent property of ...
by Sergey Tkachenko
Mon Sep 05, 2005 2:51 pm
Forum: Support
Topic: Getting Name of HotPicture!
Replies: 3
Views: 7983

RVData.GetItemTextA(ItemNo)
by Sergey Tkachenko
Mon Sep 05, 2005 2:01 pm
Forum: Support
Topic: Can't get cell picture to print
Replies: 1
Views: 5464

Does print preview show these pictures?
by Sergey Tkachenko
Mon Sep 05, 2005 11:58 am
Forum: Support
Topic: Relative hyperlinks
Replies: 9
Views: 12461

It took a while, but now this update is available for registered users.
by Sergey Tkachenko
Mon Sep 05, 2005 11:56 am
Forum: Support
Topic: incorrect adding to undo list (continued)
Replies: 5
Views: 8693

It took a while, but now a new version is availble for registered users. Undo logging is activated by the compiler define RVDEBUGUNDO (you can add {$DEFINE RVDEBUGUNDO} at the very top of RVUndo.pas). The log file is "\undolog.txt". It is emptied on the application start. Only additions to undo and ...
by Sergey Tkachenko
Mon Sep 05, 2005 11:48 am
Forum: Support
Topic: Insert Picture Question
Replies: 4
Views: 8298

Update: all the information above is obsolete.

Since v1.9.16 there are new types of VAlign for images. You need rvvaAbsMiddle. No more calculations to align images to the middle!

This version is available for registered users.
by Sergey Tkachenko
Mon Sep 05, 2005 11:45 am
Forum: Support
Topic: Stream problems using controls Developer Express Controls
Replies: 4
Views: 8559

Controls are loaded using TStream.ReadComponent method. I do not know, may be DevExpress Controls need additional initialization.
by Sergey Tkachenko
Mon Sep 05, 2005 11:40 am
Forum: Support
Topic: Doing selection within table cells
Replies: 3
Views: 7482

Example: uses CRVData, CRVFData, RVTable; procedure TfrmTextEdit.DeleteAllPictures(RVData: TCustomRVData); var i, r, c: Integer; Table: TRVTableItemInfo; begin for i := RVData.ItemCount - 1 downto 0 do case RVData.GetItemStyle(i) of rvsPicture, rvsHotPicture: begin RVData := RVData.Edit; TCustomRVFo...
by Sergey Tkachenko
Mon Sep 05, 2005 11:24 am
Forum: Support
Topic: Doing selection within table cells
Replies: 3
Views: 7482

TCustomRichViewEdit(RichViewEdit1.InplaceEditor) returns the inplace editor of table inside RichViewEdit1 (can be nil if inplace editor is not activated). This editor, in its order, can have its own inplace editor (for editing cell of nested table) and so on. The latest inplace editor is available a...
by Sergey Tkachenko
Sun Sep 04, 2005 2:09 pm
Forum: Support
Topic: Insert Picture Question
Replies: 4
Views: 8298

Nothing too complicated, of course.
The only problem - the positioning relative to the line bottom/middle/top must be done after the calculation of the line vertical position, while baseline-related position does not require a post processing.
by Sergey Tkachenko
Sat Sep 03, 2005 5:08 pm
Forum: Support
Topic: How To Accomplish The Following...
Replies: 4
Views: 7940

This is quite a complicated logic, there are no methods to make it simple. General direction - in OnChange, use SearchText (or other method) to find the character, then use SetSelectionBounds, ApplyStyleConversion, InsertText. Similar work is performed in the simple RichViewEdit-based syntax highlig...