The easiest wat is to create a control array on the form eg: text1(0). You do this by adding a textbox and setting its index.

While the program is running you call :

VB Code:
  1. load text1(1)

Next you set the properties of the new control and set its visible property to true.

This way you will be able to reponsd to events of controls loaded dynamically without having to use subclassing.