Page 1 of 1

Speed Problems with Several Controls

Posted: Mon Sep 12, 2005 2:27 am
by Joel Cuyos
Hi Sergey,

Is there anyway to speed up the loading process or even the scrolling the RVE when there several controls embedded on it.

The editor contains at least 50 controls (TEdit, TCheckbox and TButton). I tried putting a progress bar during the opening process of the file (just to make it appear that it is loading fast) but I think drawing/repaint of the RVE is done on a separate thread and my progressbar finishes long way before the file is completely loaded on the RVE.

Kind regards,
Joel

Posted: Mon Sep 12, 2005 6:11 am
by Guest
Joel,

Can you send me a test-project? I'll try to find any speed issues and address them to Sergey, when they prove to come from code in TRichView.

I can be reached via MSN on [email protected]

Posted: Mon Sep 12, 2005 6:13 am
by Rob
[offtopic]
Sorry, "Guest" should be "Rob" instead
[/offtopic]

Speed Problems with Several Controls

Posted: Tue Sep 13, 2005 12:59 am
by Joel Cuyos
Hi Rob,

Thanks for your reply. I will a make a small application to duplicate this problem.

Thanks,
Joel

Speed Problems with Several Controls

Posted: Tue Sep 13, 2005 4:46 am
by Joel Cuyos
Hi Rob,

Sent you the RVF file which can be open in one of the Editor Demos.

Hope you will find anything unusual.

Kind regards,
Joel

Posted: Tue Sep 13, 2005 6:54 am
by Guest
Sent you the RVF file which can be open in one of the Editor Demos.
Really? I do not see any email... :(

Speed Problems with Several Controls

Posted: Tue Sep 13, 2005 11:29 am
by Joel Cuyos
Sorry, the email was still in my Outbox... should be in your mail box by the time read this

Posted: Wed Sep 14, 2005 6:11 am
by Guest
Got it. I see that scrolling is slow. Not extreme, but too slow in my opinion. I will see what I can do to speed it up.

Posted: Wed Sep 14, 2005 7:11 am
by Rob
Joel,

I found a speed issue that occurs when many controls are embedded into the RichView. I sent my suggestion to Sergey. He can evaluate and decide to incorporate it into the next version.

If I do not get positive feedback from Sergey about this, I will send you the changes necessary to speed this up in your source instead.

I will send you a test program to you to show the difference in speed.

Posted: Wed Sep 14, 2005 8:43 am
by sesilla
Can you share your demo for us?

Thanks
Sesilla

Posted: Wed Sep 14, 2005 9:17 am
by Rob
sesilla wrote:Can you share your demo for us?

Thanks
Sesilla
Can do, but I prefer to await with disclosing the source code until I hget Sergey's stance on the changes I proposed.

The compiled demo can be found here: http://www.xs4all.nl/~robciel/Project1.zip

Note: there is still room for improvements, but this requires some deeper changes.