Search found 9406 matches

by Sergey Tkachenko
Thu Nov 15, 2007 3:49 pm
Forum: Support
Topic: RTL text support, selection
Replies: 11
Views: 19607

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...
by Sergey Tkachenko
Thu Nov 15, 2007 7:17 am
Forum: Support
Topic: How To Conditionally Apply BiDiMode Settings?
Replies: 2
Views: 9847

// Returns index of paragraph style in rvs having all properties // of the ParaNo-th style, but the specified BiDiMode function GetParaNo(rvs: TRVStyle; ParaNo: Integer; BiDiMode: TRVBiDiMode): Integer; var ParaStyle: TParaInfo; begin ParaStyle := TParaInfo.Create(nil); ParaStyle.Assign(rvs.ParaSty...
by Sergey Tkachenko
Thu Nov 15, 2007 7:05 am
Forum: Support
Topic: RTL text support, selection
Replies: 11
Views: 19607

About pasting. That demo does not use Unicode, so pasted Unicode text will be converted to ANSI. Well, this is one more demo: http://www.trichview.com/support/files/actiontest_bidi_uni.zip It has both bidi and Unicode support turned on. In addition, I added a combobox on toolbar allowing to switch R...
by Sergey Tkachenko
Thu Nov 15, 2007 6:35 am
Forum: Support
Topic: RTL text support, selection
Replies: 11
Views: 19607

This file does not contain enough information to be loaded in this demo. It was saved without text and paragraph styles, so it can be opened only in application having the same collections of styles what was used when creating this file. Resaving this file in the Editor1 demo will help (this demo ha...
by Sergey Tkachenko
Wed Nov 14, 2007 3:51 pm
Forum: Support
Topic: RTL text support, selection
Replies: 11
Views: 19607

No, I understand you. I just said that this demo was compiled without support of bidirected text. I compiled actiontest demo with support of bidi text: http://www.trichview.com/support/files/actiontestbidi.zip I set RichViewEdit1.BiDiMode = rvbdLeftToRight, and added text and paragraph direction act...
by Sergey Tkachenko
Wed Nov 14, 2007 1:22 pm
Forum: Support
Topic: RTL text support, selection
Replies: 11
Views: 19607

You cannot do it in compiled exe, you need to recompile it for this.
by Sergey Tkachenko
Wed Nov 14, 2007 8:56 am
Forum: Support
Topic: [Demo] RTL
Replies: 4
Views: 11383

This demo enumerates all available fonts having ARABIC_CHARSET or HEBREW_CHARSET.
Make sure Control Panel -> Regional and Language Options ... option "Install files for complex scripts and right-to-left languages" is checked.
by Sergey Tkachenko
Wed Nov 14, 2007 8:50 am
Forum: Support
Topic: RTL text support, selection
Replies: 11
Views: 19607

To turn on support of bidirectional text, set RichViewEdit.BiDiMode = rvbdLeftToRight or rvbdRightToLeft.
by Sergey Tkachenko
Mon Nov 12, 2007 3:11 pm
Forum: Support
Topic: Tables: How to re-order rows or columns in the UI?
Replies: 1
Views: 7056

There is no direct example for these operations.
But some ideas can be found here: http://www.trichview.com/forums/viewtopic.php?t=1421 (table sorting)
by Sergey Tkachenko
Sat Nov 10, 2007 12:18 pm
Forum: Support
Topic: Get exception "cant modify empty undo list"
Replies: 3
Views: 10791

Can you give me step-by-step instructions how to reproduce this problem?
by Sergey Tkachenko
Fri Nov 09, 2007 3:49 pm
Forum: Support
Topic: Get exception "cant modify empty undo list"
Replies: 3
Views: 10791

The error may occur, for example, because of mismatched calls of SetUndoGroupMode. Do you call this method?
by Sergey Tkachenko
Thu Nov 08, 2007 3:13 pm
Forum: Support
Topic: TRichViewEdit, Actions and ExpressBars
Replies: 2
Views: 10883

I am not sure how DevExpress buttons work, but probably some button's property must be set to allow it be checked (stay pressed)
by Sergey Tkachenko
Wed Nov 07, 2007 3:32 pm
Forum: Support
Topic: I have an question about TRichViewEdit
Replies: 26
Views: 48140

No, you can only insert pictures (TBitmap, TMetafile or other, inherited from TGraphic) or Delphi controls in text.
by Sergey Tkachenko
Wed Nov 07, 2007 6:59 am
Forum: ScaleRichView
Topic: Compiled Demo/font appearance
Replies: 24
Views: 75927

May be I still do not understand the source of the problem. To my opinion, document in zoom = 100% and zoom = 101% must look almost identically. If it is displayed wrong, the whole drawing procedure must be changed, not only displaying in 100%. (Moreover, as far as I know how ScaleRichView works, do...
by Sergey Tkachenko
Tue Nov 06, 2007 4:30 pm
Forum: ScaleRichView
Topic: Compiled Demo/font appearance
Replies: 24
Views: 75927

But I believe in components displaying scaled text, it is always scaled. They do not have two drawing functions, one for scaled text and one for 100% zoom.