Search found 9409 matches

by Sergey Tkachenko
Sun Feb 03, 2008 4:45 pm
Forum: Support
Topic: rvActionSaveAs1 - Filename?
Replies: 1
Views: 7292

The best way is to use rvActionSave.OnDocumentFileChange event, and store FileName.
This event occurs when the opened file name is changed (by New, Open and SaveAs commands)
by Sergey Tkachenko
Sun Feb 03, 2008 4:41 pm
Forum: Support
Topic: Save and load document(TRicViewEdit)
Replies: 1
Views: 6979

Please send me a simple project to reproduce.
by Sergey Tkachenko
Sun Feb 03, 2008 4:38 pm
Forum: Support
Topic: Selected text
Replies: 1
Views: 7479

1. See the help file, the topic "Selecting Part of RichView Document". Selected text may have several different fonts. Of course, you can enumerate all selected text items and find common properties, but I suggest simply to use attributes of text at the position of caret, like RichViewActi...
by Sergey Tkachenko
Thu Jan 31, 2008 2:06 pm
Forum: Support
Topic: Insert gif-image(animated) into TRichViewEdit from stream
Replies: 5
Views: 15793

Did you include the proper file in your project?
RVGifAnimate2007 for Delphi 2007, or
RVGifAnimate for Anders' TGifImage, or
RVJvGifAnimate for JVCL Gif Image?
by Sergey Tkachenko
Thu Jan 31, 2008 12:28 pm
Forum: Support
Topic: Insert gif-image(animated) into TRichViewEdit from stream
Replies: 5
Views: 15793

If gif image is stored in TMemoryStream, you can load it in the proper graphic class (see http://www.trichview.com/forums/viewtopic.php?t=89) and insert: var gif: TGifImage; gif := TGifImage.Create; Stream.Position := 0; gif.LoadFromStream(Stream); RichViewEdit1.InsertPicture('', gif, rvvaBaseLine);...
by Sergey Tkachenko
Wed Jan 30, 2008 5:41 pm
Forum: Support
Topic: Register Controls of Third Party
Replies: 1
Views: 7971

TDateEdit contains 2 subcontrols: TEditButton and TPopupCalendar. All of them must be registered with RegisterClasses. There is no problem for TEditButton, but TPopupCalendar is defined in the implementation section of PickDate unit, so you need to change RXLib source code. The most simple way is ad...
by Sergey Tkachenko
Tue Jan 29, 2008 6:57 pm
Forum: Support
Topic: Inserting Text in RichView
Replies: 1
Views: 8099

There are no documented methods for insering in TRichView (except for InsertRVFFromStream), but there are some examples doing it.
Can you tell me details of your problem, I'll try to suggest a solution.
by Sergey Tkachenko
Mon Jan 28, 2008 6:18 pm
Forum: Support
Topic: TableSort.Pas Problems
Replies: 1
Views: 7952

You use quite old version of TRichView, if these properties and methods are not defined. Please consider to update it.

As for the problem - may be RichViewEdit1.ReadOnly = True, or you use other kind of protection?
by Sergey Tkachenko
Mon Jan 28, 2008 12:50 pm
Forum: Support
Topic: Example for TableSort.pas?
Replies: 2
Views: 9380

What's the problem with using this unit? var rvet: TCustomRichViewEdit; table: TRVTableItemInfo; if not RichViewEdit1.GetCurrentItemEx(TRVTableItemInfo, rvet, TCustomRVItemInfo(table)) then exit; // display your modal form allowing choosing sort options // and column (in range 0..table.ColCount-1) S...
by Sergey Tkachenko
Sun Jan 27, 2008 4:54 pm
Forum: ScaleRichView
Topic: importing documents with embedded hyperlinks
Replies: 11
Views: 37173

Well, I can reproduce the problem with importing DOC files using office text converters. Unfortunately, it cannot be fixed, because the DOC file import converter creates RTF without hyperlinks. As for the problem with embedded hyperlinks when importing RTF files, I cannot reproduce it. May be I do n...
by Sergey Tkachenko
Sat Jan 26, 2008 12:37 pm
Forum: ScaleRichView
Topic: importing documents with embedded hyperlinks
Replies: 11
Views: 37173

For any case, send me the document example. I want to test on the same data as you do.
by Sergey Tkachenko
Fri Jan 25, 2008 2:47 pm
Forum: ScaleRichView
Topic: importing documents with embedded hyperlinks
Replies: 11
Views: 37173

1) Please send me example of this Word doc to test.
2) This action must be able add, modify and delete hyperlinks. I cannot reproduce the problem. Please give me step by step instructions how to do it.
by Sergey Tkachenko
Thu Jan 24, 2008 5:29 pm
Forum: Support
Topic: Scrolling with middle mouse button - not working.
Replies: 10
Views: 26556

The question is: should I include IMouse in uses of RVScroll.
From one side, without including this unit mouse panning does not work.
From the other side, including (as I understand) makes it impossible to use third party modifications.
by Sergey Tkachenko
Thu Jan 24, 2008 4:57 pm
Forum: Support
Topic: Scrolling with middle mouse button - not working.
Replies: 10
Views: 26556

Wow, I didn't know about this unit. It will be supported by default in the next update.

A special processing is required for inplace editors (to scroll the root editor instead of them), I've made it.
by Sergey Tkachenko
Thu Jan 24, 2008 4:48 pm
Forum: Support
Topic: Tables and Controls
Replies: 4
Views: 12564

The correct code is: if RichViewEdit1.InsertControl('', c, rvvaAbsMiddle) then RichViewEdit1.TopLevelEditor.SetItemExtraIntProperty(RichViewEdit1.TopLevelEditor.FindControlItemNo(c), rvepResizable, 1) or if RichViewEdit1.InsertControl('', c, rvvaAbsMiddle) then RichViewEdit1.TopLevelEditor.SetItemEx...