It seems when using a tabcontrol, repainting the form when clicking a tab
takes a few split seconds, how can I repaint my form after all controls and
data is loaded??

Signature
Best regards
Luc
Juanma Mtnez - 27 Sep 2007 14:50 GMT
Hi:
Try using FormName.SuspendLayout() before loading controls and data, and
then FormName.ResumeLayout(true) after that.
Hope this result usefull.
> It seems when using a tabcontrol, repainting the form when clicking a tab
> takes a few split seconds, how can I repaint my form after all controls and
> data is loaded??