dim cmd as commandbutton
set cmd=Controls.add("vb.commandbutton","Name")
cmd.visible=true
then u can set its left & top property
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 15 of 21
Thread: Adding controls at runtimeThreaded View
|
Click Here to Expand Forum to Full Width |