Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SuspendLayout doesn't work?

Status
Not open for further replies.

joelwenzel

Programmer
Jun 28, 2002
448
I think I am misusing SuspendLayout.

I want to resize a bunch of things so I don't want to paint them until I'm done resizing everything. This is what I have

me.SuspendLayout()
...
'Resize stuff
...
me.ResumeLayout()

However, the form still paints everything during the resize. It is slow and ugly. Is there another function or something I should be doing to achieve what I want?
 
really? that seems like a bit of a nuscience but I guess I can deal with it
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top