Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Other Development Tools
 Urgent-Add control by clicking command button

Author  Topic 

gurusamy.senthil
Yak Posting Veteran

65 Posts

Posted - 2006-11-02 : 05:30:00
I am a new bee for Visual basic.

Could any one tell me how to add controls like textbox, combo etc by clicking the command button after the form get loaded?

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2006-11-02 : 05:50:08
You must make at least one control "indexed".
Then you just "Load Textbox" and set position and visibility.



Peter Larsson
Helsingborg, Sweden
Go to Top of Page

gurusamy.senthil
Yak Posting Veteran

65 Posts

Posted - 2006-11-02 : 06:11:42
Please explain in details or short to know it can be added when I clicking the commandButton.

Do I have to use any interface or componenets to load the control.
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2006-11-02 : 07:06:39
I just did.


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

AndrewMurphy
Master Smack Fu Yak Hacker

2916 Posts

Posted - 2006-11-02 : 07:29:09
This might be more appropriate to follow on a VB-related website.
Go to Top of Page

gurusamy.senthil
Yak Posting Veteran

65 Posts

Posted - 2006-11-03 : 00:19:40
Peso, I could not understand what you are trying to say. It would be more helpfull if you explain that with an example.
Go to Top of Page
   

- Advertisement -