I create commandbuttons in runtime, I want to suspend the form to draw itself for the while all the buttons are created.

suspend form drawing //how to do this?

loop ... load commandbutton(i)

resume form drawing