Search found 9411 matches

by Sergey Tkachenko
Wed May 14, 2008 3:19 pm
Forum: Support
Topic: Detection af aan jpeg in a TMemorystream for a RichView
Replies: 11
Views: 23510

I do not understand the first questions. All these lines (header, item text, image class, etc.) represents one item in RVF. The link for detailed RVF specification is http://www.trichview.com/help/index.html?rvf_specification.html If you use TMemoryStream, you can access data as Stream.Memory. The c...
by Sergey Tkachenko
Tue May 13, 2008 8:28 pm
Forum: ScaleRichView
Topic: Speed problem - at the table search - replace operation
Replies: 1
Views: 12927

You can do field replacement much faster without SearchText method.
See http://www.trichview.com/forums/viewtopic.php?t=8 , it had example with fields defined by {} characters.
by Sergey Tkachenko
Tue May 13, 2008 3:28 pm
Forum: Support
Topic: cursor is hidden after using rve.scrollTo
Replies: 4
Views: 12588

Do you want to move caret to the specified Y position?

Code: Select all

var RVData:TCustomRVFormattedData;
  ItemNo, OffsetInItem: Integer;

rv.GetItemAt(0, Y, RVData, ItemNo, OffsetInItem, False);
RVData := TCustomRVFormattedData(RVData.Edit);
RVData.SetSelectionBounds(ItemNo, OffsetInItem, ItemNo, OffsetInItem);
by Sergey Tkachenko
Tue May 13, 2008 2:50 pm
Forum: Support
Topic: RvHtmlImporter v0.0027 bugs
Replies: 27
Views: 57329

I cannot reproduce this problem with spaces. Please send me this HTML file to [email protected]
by Sergey Tkachenko
Tue May 13, 2008 2:46 pm
Forum: Support
Topic: gif animation
Replies: 1
Views: 9557

It's very simple. 1) Set RichView1.AnimationMode := rvaniOnFormat. 2) Include the unit RVGifAnimate2007 in your project. 3) Call RegisterClass(TGifImage) one time, before the first loading. Now you can insert gif animations like any other graphic in TRichView, using TGifImage class (from GifImg unit...
by Sergey Tkachenko
Tue May 13, 2008 2:39 pm
Forum: Support
Topic: cursor is hidden after using rve.scrollTo
Replies: 4
Views: 12588

ScrollTo just scrolls the editor's window to the specified scrollbar position.
The caret is still in the same location as before, and if this is location becomes invisible, the caret becomes invisible too.

You need to deside what do you want to change - the caret location of vertical position.
by Sergey Tkachenko
Tue May 13, 2008 2:29 pm
Forum: Support
Topic: www.trichview.com can not be visited from China. why ?
Replies: 2
Views: 8370

For unknown reasons, IP address of trichview.com is blacklisted by Chinees internet providers. So the only way to access the site from China is using proxy servers.
I plan to move the site to another IP address this Summer.
If you purchased the components, I can send updates by e-mail.
by Sergey Tkachenko
Sat May 10, 2008 8:40 am
Forum: Support
Topic: How can I save with Page Orientation as Landscape
Replies: 1
Views: 8427

Assign RichViewEdit1.DocParameters.Orientation.
And enable option for saving DocParameters to RTF (and may be to RVF, and may be for loading too).
See http://www.trichview.com/help/index.htm ... eters.html
by Sergey Tkachenko
Sat May 10, 2008 8:29 am
Forum: Support
Topic: How to save the controls(in the RV) in RTF and HTML File
Replies: 2
Views: 9458

TRichView cannot save controls in RTF and HTML itself.
When control needs to be saved, OnSaveComponentToFile event occurs, where you need to provide HTML or RTF code representing this control.
by Sergey Tkachenko
Fri May 09, 2008 2:44 pm
Forum: Support
Topic: Detection af aan jpeg in a TMemorystream for a RichView
Replies: 11
Views: 23510

Well, yes, this data sequence (image class name, line break, data size, image data) is used only if there are no additional properties for this item. If you resize the image in the editor, 2 additional properties (ImageWidth and ImageHeight) appear. They are saved before the data size. Each addition...
by Sergey Tkachenko
Fri May 09, 2008 12:15 pm
Forum: Support
Topic: Show caret in TDBRichView
Replies: 1
Views: 8916

TDBRichView cannot show the caret because this component does not have it. TDBRichView is scrolled like, for example, a browser window.
You can use TDBRichViewEdit with ReadOnly=True instead.
by Sergey Tkachenko
Fri May 09, 2008 9:19 am
Forum: Examples, Demos
Topic: [Demo] Chat codes
Replies: 15
Views: 151708

Sorry, I never worked with youtube video.
If you know a control that can play youtube video, you can insert it in TRichView.

I believe you can use Flash ActiveX, loading Chromeless Player in it. (apiplayer.SWF): http://code.google.com/apis/youtube/chr ... l#Overview
by Sergey Tkachenko
Thu May 08, 2008 4:44 pm
Forum: Support
Topic: Detection af aan jpeg in a TMemorystream for a RichView
Replies: 11
Views: 23510

var Size: Integer;

Source.ReadBuffer(Size, 4);
by Sergey Tkachenko
Wed May 07, 2008 2:49 pm
Forum: Support
Topic: strange problem,the rvstyle font is automatically changed
Replies: 3
Views: 12494

TRichView never changes properties of existing styles itself (the only exception - loading RVF file may replace existing styles with styles from the file).
by Sergey Tkachenko
Tue May 06, 2008 8:03 pm
Forum: ScaleRichView
Topic: ScaleRichView - shareware TRichView addon for WYSIWYG edit
Replies: 19
Views: 99793

Update 2008-May-6: ScaleRichView v1.4.1 Requires: TRichView v10.1 RichViewActions v1.62 new: TDBSRichViewEdit new: event on drawing hyperlinks (can be used to define hyperlink areas in exported PDF files) new: OnCheckpointVisible and CPEventKind, analogs of the event and property of TRichView new m...