Is there a way to make a Form load and display faster?

Posted by jquerijero on 19-Feb-2010 10:18

Version: 10.2A

I have form that has quite a few controls in there. A comparable form in Visual Studio takes about 2.5secs while in Architect it takes about 8.5secs.

NOTE: No business logic is running just plain form with lots of controls.

All Replies

Posted by Admin on 19-Feb-2010 10:32

Latest service pack?

Try 10.2B - that appears to be much faster.

Posted by Matt Baker on 19-Feb-2010 12:36

If there are natural groupings of controls on the form, then turn the groups into individual user controls and put the user control on the form instead of the individual controls.  If you have a tabbed form, then each tab page tends to lend itself to this model.

The point of this suggestion is to reduce the amount of code parsing that needs to be done by the designer to load the form as this is the most expensive part of loading the designer.

Posted by jquerijero on 19-Feb-2010 13:06

Each section is already a usercontrol. Sorry, I wasn't clear about my initial post. I am talking about run-time's load and display being slow.

Posted by jquerijero on 19-Feb-2010 13:09

Sorry, I was talking about the run-time slowness and not the designer's performance.

Posted by Matt Baker on 25-Feb-2010 11:58

Removed - since my comments  did not apply

Message was edited by: Matthew Baker

This thread is closed