Search found 21 matches

by AutoCorect
Thu Sep 04, 2008 2:18 pm
Forum: ScaleRichView
Topic: Interface is frozen when loading a big file
Replies: 20
Views: 70561

Unfortunatelly my application is very complex. I have a function that finds what kind of file it is and load it in ScaleRichView but it's also very complex and uses many other functions. Also it's not easy for me to make a new program with a simpler version of this function. I will send you the func...
by AutoCorect
Fri Aug 29, 2008 1:25 pm
Forum: ScaleRichView
Topic: Interface is frozen when loading a big file
Replies: 20
Views: 70561

I tried this but it gives that error (only one page to edit when I load the second time).
With RefreshData is ok but not that fast.
by AutoCorect
Fri Aug 29, 2008 12:37 pm
Forum: ScaleRichView
Topic: Interface is frozen when loading a big file
Replies: 20
Views: 70561

In my program I don't use RVAction on file opening. And if I call Format it takes about 9..10% from total time.
by AutoCorect
Fri Aug 29, 2008 7:37 am
Forum: ScaleRichView
Topic: Interface is frozen when loading a big file
Replies: 20
Views: 70561

Thank you. It's an improvment in speed. Maybe in the future versions you will increase loading speed and also you will link RefreshData procedure to OnProgress event. Even after the progressbar shows 100% the user waits so the document become available to edit. For example in my tests half of the lo...
by AutoCorect
Thu Aug 28, 2008 1:34 pm
Forum: ScaleRichView
Topic: Interface is frozen when loading a big file
Replies: 20
Views: 70561

:( You forgot about my problem. Please give me some solution for this problem.

Thanks, I still wait your solution
by AutoCorect
Mon Aug 25, 2008 7:18 am
Forum: ScaleRichView
Topic: Interface is frozen when loading a big file
Replies: 20
Views: 70561

Have you try it...?
by AutoCorect
Mon Aug 18, 2008 3:16 pm
Forum: ScaleRichView
Topic: Interface is frozen when loading a big file
Replies: 20
Views: 70561

In your ActionTest demo load again "readme.rvf". After that you'll have only one page.
If you resize the main window it returns to normal.
If this doesn't work I will send you the modified demo.
by AutoCorect
Mon Aug 18, 2008 8:25 am
Forum: ScaleRichView
Topic: Interface is frozen when loading a big file
Replies: 20
Views: 70561

I found situations when if I load a different rtf after the first I get the same error: only one page to edit.
What should I do?
Thank you for your reply.
by AutoCorect
Thu Jul 31, 2008 9:57 pm
Forum: ScaleRichView
Topic: Interface is frozen when loading a big file
Replies: 20
Views: 70561

The text is not shifted anymore but I still have just one page to edit. If I press PageDown a couple of times then srve.CurrentPage is updated normally but I still see only the first page. Only if I resize the main window or if I run SclRVRuler1.DoMarginChanged returns to normal. But in both cases f...
by AutoCorect
Wed Jul 30, 2008 5:06 pm
Forum: ScaleRichView
Topic: Interface is frozen when loading a big file
Replies: 20
Views: 70561

Thank you. It's loading faster. But there is a problem: if I load again the same rtf the text is shifted down and to the right. Also I have only one page of text available. Here are some screen captures: http://fileserver7.jpghosting.com/images/firstload_7332953dfaa1f8511ff17ed545ce2fc9.PNG http://f...
by AutoCorect
Wed Jul 16, 2008 2:09 pm
Forum: ScaleRichView
Topic: Interface is frozen when loading a big file
Replies: 20
Views: 70561

I had sent you a sample file over email...
by AutoCorect
Wed Jul 16, 2008 8:21 am
Forum: ScaleRichView
Topic: Interface is frozen when loading a big file
Replies: 20
Views: 70561

Interface is frozen when loading a big file

Hi. A significant part of the loading time for rtf files is taken in my program by the SetRVMargins procedure. But during this the main interface is frozen and I can't show any progress to the user (with a progressbar). For this I need that SetRVMargins to be modified to work with OnProgress event (...
by AutoCorect
Sat Jun 14, 2008 11:14 am
Forum: Support
Topic: Get caret position of the selected text in screen
Replies: 3
Views: 13346

Thank you.
by AutoCorect
Sat Jun 14, 2008 9:09 am
Forum: Support
Topic: Get caret position of the selected text in screen
Replies: 3
Views: 13346

I found a solution: ScaleRichView.CaretPos. I now show the window above selection and seems to be ok.
by AutoCorect
Fri Jun 13, 2008 4:07 pm
Forum: Support
Topic: Get caret position of the selected text in screen
Replies: 3
Views: 13346

Get caret position of the selected text in screen

Hi. I want to show a window just below text selection in ScaleRichView. I don't know how to find the position of the selected text (even in tables) in Screen coordinates. I tried with GetItemClientCoords, GetSelectionRect and ClientToScreen API but no luck so far. Can anyone help me, please... Thank...