New Text Box during Run-time 
Author Message
 New Text Box during Run-time

I posted a message on the newsgroups asking if it is possible to make a
new text box during run time. The replies I got where both yes and no.
If it is possible, then please attach some code.

Thanks in Advance,
Ophir Marko



Mon, 16 Apr 2001 03:00:00 GMT  
 New Text Box during Run-time
The answer is yes but how depends on which version of VB.

If you have VB5 (or less) you have to have a control array of the same type
on the form with one or more controls in place. Then you can build new ones
but assigning them to an empty array element.

If you have VB6 you don't need the array.

Both of these methods are covered in the help files with examples.

Quote:

>I posted a message on the newsgroups asking if it is possible to make a
>new text box during run time. The replies I got where both yes and no.
>If it is possible, then please attach some code.

>Thanks in Advance,
>Ophir Marko



Mon, 16 Apr 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. HELP: Adding text boxes during run time

2. Text Box during run time

3. make new text-boxes at run-time

4. Creating new text boxes at run time

5. Creating new text boxes at run time

6. How do I add text box during runtime?

7. How do I add text box during runtime?

8. Text box text on new page text box

9. loading text boxes at run-time

10. changing the datasource property of a text box at run time

11. Drag Text Box In Run Time

12. Resizing a text box at run time.

 

 
Powered by phpBB® Forum Software