Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Adding controls to tabs dynamically
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Adding controls to tabs dynamically

 Post Reply Post Reply
Author
Message
PhilJeary View Drop Down
Newbie
Newbie
Avatar

Joined: 16 March 2004
Location: United Kingdom
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote PhilJeary Quote  Post ReplyReply Direct Link To This Post Topic: Adding controls to tabs dynamically
    Posted: 24 September 2007 at 10:10am
I would like to add controls to a TabControl dynamically.
 
For controls not on a tab I am currently using;
 
Set Cmd1 = Controls.Add("vb.commandbutton", "Cmd1")
 
If I want Cmd1 to sit on page 2 of a tab, what do I need to do differently?
 
Any help would be much appreciated.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.