Search found 9390 matches

by Sergey Tkachenko
Thu Jan 31, 2008 12:28 pm
Forum: Support
Topic: Insert gif-image(animated) into TRichViewEdit from stream
Replies: 5
Views: 15713

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: 7944

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: 8066

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: 7909

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: 9338

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: 37032

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: 37032

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: 37032

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: 26508

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: 26508

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: 12518

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...
by Sergey Tkachenko
Wed Jan 23, 2008 5:20 pm
Forum: ScaleRichView
Topic: bug in Actions Demo
Replies: 3
Views: 15863

It looks like the error we have recently fixed. It will be uploaded in the next update, this week.
by Sergey Tkachenko
Wed Jan 23, 2008 5:19 pm
Forum: ScaleRichView
Topic: re-order filters in Save As... ? (RVActions or SRV Demo???)
Replies: 2
Views: 14094

RichViewActions do not allow to reorder items in SaveAs dialog, they only allow to exclude some of them. Custom items are always after the standard items. But you can control the default item (which is selected when the dialog is shown). For SaveAs dialog, the default item corresponds to the documen...
by Sergey Tkachenko
Tue Jan 22, 2008 2:48 pm
Forum: Support
Topic: Tables and Controls
Replies: 4
Views: 12518

You should be able to select and resize them. There is only one problem: when the control is in the cell, TRichView cannot draw resize handles outside this cell. It may be a problem if CellPadding is small.
by Sergey Tkachenko
Tue Jan 22, 2008 2:46 pm
Forum: Support
Topic: TEdit Control and Font
Replies: 6
Views: 16194

For example, if the user selects large document fragment and applies font, this event occurs for each item in the selection. Which one you will use for TEdits?

It's possible to apply fonts to inserted controls, but it requires creating a special item type for them.