multiple editors on a form

SyntaxEditor for Windows Forms Forum

Posted 17 years ago by ori
Version: 4.0.0256

I want my form to have about 10-20 editors (the user edits only one at a time). Some of them single line and some multiline. I also work with multiple tabs and that's why the number is so big.

I wanted to know if I'm going to have problems with performance (for opening the form) and the memory usage.

Also - are there any tips for such a requirement?


Comments (1)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Memory shouldn't get too large if the docs aren't very big.

One thing you may want to do though is when you switch tabs, call SyntaxEditor.ResetDoubleBufferCanvas on the SyntaxEditor that is being hidden. We reset the double buffer when we can detect the visibility is changed to false but sometimes if the SyntaxEditor is in the .NET TabControl for instance (instead of our tab control in UIStudio), it is never notified of the visibility change and therefore will use some GDI resources for the backbuffer. So calling that manually will ensure that the GDI resources are kept as low as possible when not needed.

Actipro Software Support

The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.