Array of TextBoxes

  • Thread starter Thread starter Bruce F
  • Start date Start date
B

Bruce F

VBasic.net 2003

I have an array of 12 TextBoxes:

Dim tbArray(4,3) As TextBox

What I need is an Event Handler that will tell me in which TextBox a key
was pressed.

Can anyone enlighten me with a little code to do this.
Thanks
 
What I need is an Event Handler that will tell me in which TextBox a key
was pressed.
In the event handler, cast "sender" to TextBox.
 

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