How to create controls at run time
Posted on January 4, 2009
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 'Controls - How to create controls at run time 'Once you have created a control array at design time, even with just one item, 'it's straightforward to create new items at run time using the Load command: 'Suppose you created Text(0) at design time. Load Text1(1) ' Move the new control where you need it, and resize it. Text1(1).Move 1200, 2000, 800, 350 'Set other properties as required. Text1(1).MaxLength = 10 'Finally make it visible. Text1(1).Visible = True |