Search found 7422 matches

by Sergey Tkachenko
Fri Sep 23, 2005 8:23 am
Forum: Examples, Demos
Topic: [Demo] How to resize and drag&drop inserted controls
Replies: 0
Views: 16602

[Demo] How to resize and drag&drop inserted controls

http://www.trichview.com/support/files/dragcontrol.zip Unlike images, controls are not resized by default. To enable resizing of the control, set its rvepResizable property to nonzero value, and select it in its OnMouseDown event. Unlike all other content, drag&drop of controls is not processed auto...
by Sergey Tkachenko
Fri Sep 23, 2005 7:04 am
Forum: Support
Topic: Does trichview support creation of forms?
Replies: 9
Views: 7485

var edit: TEdit; edit := TEdit.Create(nil); edit.Width := 100; RichViewEdit1.InsertControl('', edit, rvvaBaseline); Instead of '' you can specify some string identifying this editor. If you insert a TCheckbox, set its ParentColor = False. In order to load controls from files of RVF format (this inc...
by Sergey Tkachenko
Fri Sep 23, 2005 6:21 am
Forum: Support
Topic: Does trichview support creation of forms?
Replies: 9
Views: 7485

This page contains a number of edit fields (<input type=text>) and bordered areas (<div>), all of them positioned absolutely.
The same effect can be achieved in TRichView using TEdit and tables.
by Sergey Tkachenko
Thu Sep 22, 2005 7:23 pm
Forum: Support
Topic: hebrew, arabic and bidi
Replies: 3
Views: 7443

1) Current version does not do it. But I already added this feature in my local copy, so it will be available on the next update. SaveHTML will save it as <div dir=RTL>, SaveHTMLEx will use CSS for that. 2) It's usually not necessary to set the text style's BiDiMode, because text is arranged automat...
by Sergey Tkachenko
Thu Sep 22, 2005 5:42 pm
Forum: Support
Topic: problem with images printed like filled black square
Replies: 11
Views: 15515

From the related thread I found intersting info that GetDiBits fails if the memory is allocated using GetMem. Not too useful, because TRichView printing code uses GlobalAlloc there. But for any case, I'll replace all calls of GetMem in the picture printing procedure.
by Sergey Tkachenko
Thu Sep 22, 2005 5:37 pm
Forum: Support
Topic: Current page number in footer?
Replies: 2
Views: 7154

If you need a plain text header and footer, use OnPagePrepaint event.
See the demo in Demos\Delphi\Assorted\Printing\Printing\
by Sergey Tkachenko
Thu Sep 22, 2005 10:03 am
Forum: Support
Topic: problem with images printed like filled black square
Replies: 11
Views: 15515

If you use older version of TRichView, update to newer version.

Play with the printer driver's options (button Properties near the list of printers in the Print dialog). Try to turn off "optimization of pictures" or things like this.
by Sergey Tkachenko
Wed Sep 21, 2005 7:03 pm
Forum: Support
Topic: Mailmerge freestyle demo bug?
Replies: 2
Views: 7200

No, I am not aware of this problem.
Please send me template.rvf from this demo.
by Sergey Tkachenko
Wed Sep 21, 2005 6:52 pm
Forum: Support
Topic: Actions Package
Replies: 1
Views: 6278

The problems with forms editing can be solved by opening an ancestor form before the given form. All RichViewActions forms are inherited from TfrmRVBase (BaseRVFrm.pas) (the most of them are inherited from it directly, others from other forms inherited from it) RVAL_Persian.pas is removed from the n...
by Sergey Tkachenko
Wed Sep 21, 2005 6:45 pm
Forum: Support
Topic: RVActions in DLL
Replies: 3
Views: 8315

In a normal application, states of all actions (not only RichViewActions) are updated periodically when the application is idle. The Application object constantly calls UpdateTarget methods of all actions. DLL does not do it. There is a solution. It's a bit ugly, but it works. You can simulate this ...
by Sergey Tkachenko
Wed Sep 21, 2005 6:34 pm
Forum: Support
Topic: About Windows TFont And TFontInfo ??
Replies: 1
Views: 6284

Sorry, fractional font sizes are not supported yet.
by Sergey Tkachenko
Wed Sep 21, 2005 6:32 pm
Forum: Support
Topic: Is RichView appropriate ?
Replies: 2
Views: 9087

If you give a list of features that you need, I'll answer if they are supported.
by Sergey Tkachenko
Wed Sep 21, 2005 6:29 pm
Forum: Support
Topic: Does trichview support creation of forms?
Replies: 9
Views: 7485

You can insert any Delphi control in TRichView, not only OleContainer.
It may be a button (TButton), edit box (TEdit), and even a panel with bunch of other components inside.
by Sergey Tkachenko
Tue Sep 20, 2005 9:21 am
Forum: Support
Topic: Save to database directly as html
Replies: 1
Views: 6433

Re: Save to database directly as html

If you want to store to database from TRichView or TRichViewEdit, use SaveHTMLToStreamEx/SaveHTMLToStream method (in the same way as SaveRVFToStream is used in Demos\Delphi\DB Demo\2 RichViewEdit\) If you want to DBRichViewEdit to store data in a custom format, it's possible starting from TRichView ...
by Sergey Tkachenko
Tue Sep 20, 2005 7:14 am
Forum: Support
Topic: It´s posible use SynEdit with TrichView?
Replies: 7
Views: 15195

Complex syntax highlighting in TRichViewEdit is not possible yet.
There is a syntax highlighting component in http://www.trichview.com/resources/ , but it can do only a very basic highlighting, and on relatively small documents.