Search found 9390 matches

by Sergey Tkachenko
Fri Nov 23, 2007 3:55 pm
Forum: Support
Topic: Change scrollBars behaviour?
Replies: 4
Views: 10515

Yes, WM_NCPaint is overriden to draw WinXP-themed border.
Try to set UseXPThemes property to False.
by Sergey Tkachenko
Fri Nov 23, 2007 3:52 pm
Forum: Support
Topic: I have an question about TRichViewEdit
Replies: 26
Views: 48060

1) In order to load RVF file containing controls, you need to register them with RegisterClasses. For example, if you use TButton and TEdit in document, call: RegisterClasses([TButton, TEdit]); Do it one time before the first loading. 2) Sorry, I do not understand the second question. Do you want to...
by Sergey Tkachenko
Fri Nov 23, 2007 5:29 am
Forum: Support
Topic: Change scrollBars behaviour?
Replies: 4
Views: 10515

TRichView components use standard scrollbars, there is nothing special with them.
Alternatively, you can hide scrollbars (VScrollVisible = HScrollVisible = False) and use external scrollbar components, updating them in events (OnVScrolled, OnHScrolled)
by Sergey Tkachenko
Thu Nov 22, 2007 2:50 pm
Forum: ScaleRichView
Topic: Disable automatic scaling when resizing
Replies: 6
Views: 24624

In WYSIWYG mode, page looks exactly like it will be printed. Lines on screen are wrapped exactly at the same places as on paper. Wrapping does not depend on the editor's window width. Several ScaleRichView demos allow switching between 3 layouts: normal mode, web mode, page-view mode. You can see bu...
by Sergey Tkachenko
Thu Nov 22, 2007 9:50 am
Forum: ScaleRichView
Topic: Disable automatic scaling when resizing
Replies: 6
Views: 24624

But if content width is changed when resizing without scaling, it would not be WYSIWYG.
This mode is implemented as "Web mode" in demos.
by Sergey Tkachenko
Thu Nov 22, 2007 8:22 am
Forum: Support
Topic: UN-DO action ignores LoadRVFFromStream into table cells
Replies: 1
Views: 8589

Yes, LoadRVFFromStream and Clear cannot be undone. So, there are only 2 solutions possible in the current version of TRichView: 1) create a copy of aTargetTable (using table.SaveToStream/LoadFromStream), modify this copy and insert it in place of aTargetTable (by selecting aTargetTable using SetSele...
by Sergey Tkachenko
Thu Nov 22, 2007 7:58 am
Forum: ScaleRichView
Topic: Range Check error
Replies: 3
Views: 17463

It will be fixed in the next update.
While, turn off Range Checking in the project's compiler options.
by Sergey Tkachenko
Thu Nov 22, 2007 7:56 am
Forum: ScaleRichView
Topic: Problem with run editor demo
Replies: 1
Views: 13268

May be you have older versions of components in different directories?
(otherwise, in case of version mismatch, the error would reported when installing ScaleRichView, before running demos)
by Sergey Tkachenko
Wed Nov 21, 2007 5:50 pm
Forum: ScaleRichView
Topic: Check boxes do not save to pdf correctly
Replies: 6
Views: 24327

I send your request to them.
by Sergey Tkachenko
Tue Nov 20, 2007 7:40 pm
Forum: ScaleRichView
Topic: Check boxes do not save to pdf correctly
Replies: 6
Views: 24327

May be you compiled your projects with older version of ScaleRichView somehow?
Please test this compiled demo:
http://www.trichview.com/support/files/ ... alepdf.zip
by Sergey Tkachenko
Tue Nov 20, 2007 7:29 pm
Forum: ScaleRichView
Topic: Very impressive!
Replies: 1
Views: 13092

We cannot reproduce the problems with posters.
Please test this compiled project: http://www.trichview.com/support/files/ ... ertest.zip
by Sergey Tkachenko
Thu Nov 15, 2007 7:04 pm
Forum: Support
Topic: ItemNo under cursor
Replies: 3
Views: 11257

Do you need a current word or text of the current item? Item may consist of several words. If a current word, it's not necessary to use the Clipboard (actually, application should not use the Clipboard except for Copy and Cut commands). memo.SelectCurrentWord s := memo.GetSelText; if s<>'' then // w...
by Sergey Tkachenko
Thu Nov 15, 2007 3:59 pm
Forum: Support
Topic: ItemNo under cursor
Replies: 3
Views: 11257

CurItemNo property. It is an index of item in TopLevelEditor.
For example, text of the current item:

Code: Select all

if rve.TopLevelEditor.GetItemStyle(rve.TopLevelEditor.CurItemNo)>=0 then
  s := rve.TopLevelEditor.GetItemText(rve.TopLevelEditor.CurItemNo)
else
  s := ''; // non text
by Sergey Tkachenko
Thu Nov 15, 2007 3:54 pm
Forum: Support
Topic: [Demo] RTL
Replies: 4
Views: 11336

I thought if the font supports Arabic, ARABIC_CHARSET must be available...
by Sergey Tkachenko
Thu Nov 15, 2007 3:49 pm
Forum: Support
Topic: RTL text support, selection
Replies: 11
Views: 19519

TRichViewEdit can work either with 1-byte (ANSI) or 2-byte (Unicode) text internally (or with mix of ANSI and Unicode text). Even with ANSI text, you can create TRichView documents containing several languages, by specifying the proper Charset for text fragments. But you need to do it manually in th...