Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Jul 23, 1999

Dynamic Control

Question:
How can I create dynamic controls, such as a textbox, without a basic control in the form ?

Answer:
In VB6 you can add new controls to the Controls collection as follows:

Controls.Add (ProgID, name, container)
The progid for the standard VB controls are VB.CommandButton, VB.Textbox, etc.
DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date