Speed Problems with Several Controls

General TRichView support forum. Please post your questions here
Post Reply
Joel Cuyos

Speed Problems with Several Controls

Post 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
Guest

Post 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]
Rob
Posts: 52
Joined: Wed Sep 07, 2005 6:47 am

Post by Rob »

[offtopic]
Sorry, "Guest" should be "Rob" instead
[/offtopic]
Joel Cuyos

Speed Problems with Several Controls

Post by Joel Cuyos »

Hi Rob,

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

Thanks,
Joel
Joel Cuyos

Speed Problems with Several Controls

Post 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
Guest

Post by Guest »

Sent you the RVF file which can be open in one of the Editor Demos.
Really? I do not see any email... :(
Joel Cuyos

Speed Problems with Several Controls

Post by Joel Cuyos »

Sorry, the email was still in my Outbox... should be in your mail box by the time read this
Guest

Post 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.
Rob
Posts: 52
Joined: Wed Sep 07, 2005 6:47 am

Post 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.
sesilla
Posts: 2
Joined: Tue Sep 13, 2005 3:08 pm

Post by sesilla »

Can you share your demo for us?

Thanks
Sesilla
Rob
Posts: 52
Joined: Wed Sep 07, 2005 6:47 am

Post 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.
Post Reply