Search found 9409 matches
- Thu Nov 15, 2007 7:04 pm
- Forum: Support
- Topic: ItemNo under cursor
- Replies: 3
- Views: 11295
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...
- Thu Nov 15, 2007 3:59 pm
- Forum: Support
- Topic: ItemNo under cursor
- Replies: 3
- Views: 11295
CurItemNo property. It is an index of item in TopLevelEditor.
For example, text of the current item:
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
- Thu Nov 15, 2007 3:54 pm
- Forum: Support
- Topic: [Demo] RTL
- Replies: 4
- Views: 11390
- Thu Nov 15, 2007 3:49 pm
- Forum: Support
- Topic: RTL text support, selection
- Replies: 11
- Views: 19623
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...
- Thu Nov 15, 2007 7:17 am
- Forum: Support
- Topic: How To Conditionally Apply BiDiMode Settings?
- Replies: 2
- Views: 9855
// 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...
- Thu Nov 15, 2007 7:05 am
- Forum: Support
- Topic: RTL text support, selection
- Replies: 11
- Views: 19623
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...
- Thu Nov 15, 2007 6:35 am
- Forum: Support
- Topic: RTL text support, selection
- Replies: 11
- Views: 19623
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...
- Wed Nov 14, 2007 3:51 pm
- Forum: Support
- Topic: RTL text support, selection
- Replies: 11
- Views: 19623
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...
- Wed Nov 14, 2007 1:22 pm
- Forum: Support
- Topic: RTL text support, selection
- Replies: 11
- Views: 19623
- Wed Nov 14, 2007 8:56 am
- Forum: Support
- Topic: [Demo] RTL
- Replies: 4
- Views: 11390
- Wed Nov 14, 2007 8:50 am
- Forum: Support
- Topic: RTL text support, selection
- Replies: 11
- Views: 19623
- Mon Nov 12, 2007 3:11 pm
- Forum: Support
- Topic: Tables: How to re-order rows or columns in the UI?
- Replies: 1
- Views: 7063
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)
But some ideas can be found here: http://www.trichview.com/forums/viewtopic.php?t=1421 (table sorting)
- Sat Nov 10, 2007 12:18 pm
- Forum: Support
- Topic: Get exception "cant modify empty undo list"
- Replies: 3
- Views: 10796
- Fri Nov 09, 2007 3:49 pm
- Forum: Support
- Topic: Get exception "cant modify empty undo list"
- Replies: 3
- Views: 10796
- Thu Nov 08, 2007 3:13 pm
- Forum: Support
- Topic: TRichViewEdit, Actions and ExpressBars
- Replies: 2
- Views: 10885