Computing.Net > Forums > Programming > VB6 to create Controls automatic

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

VB6 to create Controls automatic

Reply to Message Icon

Original Message
Name: RugZ
Date: July 9, 2004 at 09:43:54 Pacific
Subject: VB6 to create Controls automatic
OS: Win 2000
CPU/Ram: 1.7/256
Comment:

I would like to create 6 text boxes on a form during run time automatically..How do I go about it??


Report Offensive Message For Removal


Response Number 1
Name: Chi Happens
Date: July 9, 2004 at 13:40:49 Pacific
Reply: (edit)

Typically how that works for a non-activeX control is that you have to make one (it can be hidden) and then set it's index to 0.

after that is done, you can load them on the fly like:

load Text1(1)

and unload them like

unload Text1(1)

Hope this helps.

Chi


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software