Seems to me you could use the grid analogy. The cells (textboxes) start as one entity with one set of properties/values (width, height etc). You'd have other user control properties that define number of rows, cols, color, rowheight, etc. Based on that info, the user control dynamically loads the textbox control array into proper position and assigns each the appropriate textbox property values.




Reply With Quote