Search found 75 matches

by mohsen24000
Sat Mar 01, 2014 6:31 am
Forum: Support
Topic: A Question about TextStyles
Replies: 1
Views: 9222

A Question about TextStyles

Hi Dear Sergey,
why we can add textstyles with same properties and why textstyles are not unique!?
and, how can i merge all textstyles with unique properties!?
thanks a lot.
by mohsen24000
Wed Feb 12, 2014 5:46 am
Forum: Support
Topic: detect and enumerate notes?
Replies: 8
Views: 27913

As always Thanks a lot :D
by mohsen24000
Sun Feb 09, 2014 5:39 am
Forum: Support
Topic: detect and enumerate notes?
Replies: 8
Views: 27913

uses CRVData;

var
itemno: integer;
NoteText: String;
begin
...
for ItemNo := 0 to RV.ItemCount - 1 do
if RV.GetItem(ItemNo) is TCustomRVNoteItemInfo then
begin
NoteText := GetRVDataText(TCustomRVNoteItemInfo(RV.GetItem(ItemNo)).Document);
end;
...
end;
by mohsen24000
Wed Jan 29, 2014 8:35 am
Forum: Support
Topic: text of paragraph
Replies: 3
Views: 11657

Thanks a lot for your guide.
it's good but i do it with another way.
please let me email it to see and assessment.
thanks again.
by mohsen24000
Wed Jan 29, 2014 8:22 am
Forum: Support
Topic: insert text!
Replies: 3
Views: 11999

for example: var ItemNo: integer; ctext: TStringList; begin for ItemNo := 0 to R_Q.ItemCount - 1 do begin if R_Q.GetItem(ItemNo) is TCustomRVNoteItemInfo then begin R_Q.SetSelectionBounds(ItemNo, R_Q.GetOffsBeforeItem(ItemNo), ItemNo, R_Q.GetOffsBeforeItem(ItemNo)); R_Q.inserttext('[F]'); end; end; ...
by mohsen24000
Sat Jan 25, 2014 7:33 am
Forum: Support
Topic: text of paragraph
Replies: 3
Views: 11657

text of paragraph

Hi dear sergey. I want retrieve (get) text of paragraph that itemno is in. for example: in RVData my itemno is 5 and it's in 2th paragraph. Getparatext(5) return all text of 2th paragraph. What is the purpose of this: user search a word and i markup it in "rv" with "MarkSubString_&quo...
by mohsen24000
Mon Jan 20, 2014 6:27 am
Forum: Support
Topic: insert text!
Replies: 3
Views: 11999

insert text!

Hi Dear I want insert my content of Richview to dbase such as SQLite. and I want detect my footnotes in document on dbase with "[F]" for example: in richview: "If you do not want to add a poll to your topic 1 , leave the fields blank." in dbase: "If you do not want to add a ...
by mohsen24000
Sat Jan 11, 2014 4:17 am
Forum: Support
Topic: A Bug in "RVOfficeConverter"
Replies: 3
Views: 11751

Sergey Tkachenko wrote:Sorry, this change is incorrect.
Converters are 32-bit applications and their list is written in 32-bit Registry.
Thanks, but my ms office is 64bit installed on windows 7 64bit.
by mohsen24000
Tue Jan 07, 2014 7:18 am
Forum: Examples, Demos
Topic: [Example] Modification of "Search and Mark" demo
Replies: 16
Views: 163946

Sergey Tkachenko wrote:And a new version of code marking all
This procedure cannot be undone. If you call it for TRichViewEdit, call RichViewEdit.ClearUndo.
Hi,
I want in new search & mark action, previous marked, unmark and new founded words marked in Richview.
Please guide me how do it?
Thanks.
by mohsen24000
Tue Jan 07, 2014 5:58 am
Forum: Support
Topic: A Bug in "RVOfficeConverter"
Replies: 3
Views: 11751

A Bug in "RVOfficeConverter"

Hi Dear Sergey
there is a problem in RegOpenKeyEx on windows x64.
please change:
RegOpenKeyEx(HKEY_LOCAL_MACHINE, PChar(RegPath), 0, KEY_READ , Key);
to:
RegOpenKeyEx(HKEY_LOCAL_MACHINE, PChar(RegPath), 0, KEY_READ or KEY_WOW64_64KEY , Key);
by mohsen24000
Sun Dec 23, 2012 2:27 pm
Forum: Support
Topic: canvas does not allow drawing
Replies: 5
Views: 15924

Oh!
It was True and change it False and all things right.
i think resolved.
Thanks a lot.
--------------------------------
Is it possible to correct this problem with Threads!?
by mohsen24000
Sat Dec 22, 2012 6:52 pm
Forum: Support
Topic: canvas does not allow drawing
Replies: 5
Views: 15924

Sergey Tkachenko wrote:Is this code called in the context of the main thread?
yes.
by mohsen24000
Sat Dec 22, 2012 3:51 pm
Forum: Support
Topic: canvas does not allow drawing
Replies: 5
Views: 15924

canvas does not allow drawing

Hello dear, when i use 'chat demo' in TIdUDPServer onRead event: procedure TfrmMain.UpdateChat(msg: string); begin ParseString(mChat,msg); // from chat demo mChat.Invalidate; try mChat.Format; except mChat.FormatTail; end; mChat.Update; mChat.DeleteUnusedStyles(True, True, True); mChat.VScrollPos:= ...
by mohsen24000
Tue Apr 10, 2012 2:58 pm
Forum: Support
Topic: Show the FootNote text as a hint, is it possible?
Replies: 5
Views: 16143

Hi This is a simple way: function GetFntStr(fntNO:integer;rv:TRichViewEdit):string; var NoteItem: TCustomRVNoteItemInfo; stream:TmemoryStream; s:string; begin if fntNo>=0 then if rv.GetItem(fntNo) is TCustomRVNoteItemInfo then begin stream:=TmemoryStream.Create; NoteItem:=(rv.GetItem(fntNo) as TCust...
by mohsen24000
Tue Mar 13, 2012 9:02 pm
Forum: Support
Topic: a Problem in EXPORT...!
Replies: 7
Views: 19093

Sergey Tkachenko wrote:As for "\qr\ri0\rtlpar" with "\rtlpar\qr\ri0" - is only the order of keywords changed? And it fixed the problem?
yes!
in R2L documents it causes alignment correct.
but in L2R documents no matter!