dynamic textbox

  • Thread starter Thread starter zoneal
  • Start date Start date
Z

zoneal

Anyone can help me how to do dynamic textbox appearance?
need it for matrix data entry,
suppose i enter 3 and 4 then the 3x4 textboxes will appear..

thank you very much.
 
Anyone can help me how to do dynamic textbox appearance?
need it for matrix data entry,
suppose i enter 3 and 4 then the 3x4 textboxes will appear..

For a single textbox:

\\\
Dim txt As New TextBox()
txt.Text = ...
txt.Location = ...
Me.Controls.Add(txt)
///

You can add multiple textboxes using 'For...To' loops.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top