Search found 9400 matches

by Sergey Tkachenko
Mon Feb 04, 2008 4:03 pm
Forum: Support
Topic: How to enable action shortcut
Replies: 2
Views: 9489

When actions are placed on the form, shortcuts work even if they are not assigned to any menu item or button
(I just checked in D6)
by Sergey Tkachenko
Sun Feb 03, 2008 6:11 pm
Forum: ScaleRichView
Topic: srve + embedded hyperlinks not rendering to PDF
Replies: 3
Views: 17699

In PDF, you can define some rectangular areas as hyperlinks (LLPDFLib: pdf.Page .SetUrl method). When exporting to PDF using TRVReportHelper, you can use TRVReportHelper.OnDrawHyperlink event. Unfortunately, this feature is not implemented in ScaleRichView yet (will be implemented in one of next upd...
by Sergey Tkachenko
Sun Feb 03, 2008 6:06 pm
Forum: ScaleRichView
Topic: more RVAction Hyperlink questions
Replies: 11
Views: 36323

This dialog is included in RichViewActions (HypRVFrm.pas). You can use your own dialog instead of it, use rvActionInsertHyperlink.OnHyperlinkForm event.

You can use OnItemHint event to display hints when mouse is above some item.
CTRL key is used by default.
by Sergey Tkachenko
Sun Feb 03, 2008 5:26 pm
Forum: Support
Topic: Finding a StyleNo
Replies: 1
Views: 8039

Code: Select all

Result := RVStyle1.TextStyles.FindStyleWithFont(Edit1.Font);
if Result<0 then begin
  RVStyle1.TextStyles.Add;
  Result := RVStyle1.TextStyles.Count-1;
  RVStyle1.TextStyles[Result].Assign(Edit1.Font);
  RVStyle1.TextStyles[Result].Standard := False;
end;
by Sergey Tkachenko
Sun Feb 03, 2008 5:13 pm
Forum: Support
Topic: rveTable.Cells[r,c].BestWidth
Replies: 1
Views: 7962

1. Widths of table columns are calculated taking into account both BestWidth properties and cells contents. If you want to use only BestWidth, ignoring content, include rvtoIgnoreContentWidth in table.Options. 2. Any number of RichViews can use one RVStyle component. But in this case you need to und...
by Sergey Tkachenko
Sun Feb 03, 2008 4:48 pm
Forum: Support
Topic: Insert gif-image(animated) into TRichViewEdit from stream
Replies: 5
Views: 15776

Please send me a simple project to reproduce
by Sergey Tkachenko
Sun Feb 03, 2008 4:45 pm
Forum: Support
Topic: rvActionSaveAs1 - Filename?
Replies: 1
Views: 7283

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

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

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

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

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

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

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

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

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...