Dynamically loading controls or menu items at runtime with the "Load" statement can cause ReSize to run very slow.

Last updated: January 21, 2007

Background:
Programs that load significant numbers of controls or menu items at runtime will be slow. ReSize OCX must synchronize with each new control that is dynamically added. Currently ReSize OCX goes through the whole resizing algorithm each time a control is added. Adding 10 or 20 controls or menu items at a time can have a significant impact on performance.

Remedy:
Try disabling (i.e. ReSize1.Enabled = FALSE) ReSize OCX before dynamically adding controls or menu items. Re-enable ReSize OCX when the program is finished adding the controls or menu items.

Copyright © 2007 by Larcom and Young.
All rights reserved. Revised: January 21, 2007.