Results 1 to 19 of 19

Thread: [RESOLVED] How to get index of textbox array element clicked on?

Threaded View

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    May 2006
    Posts
    2,295

    Resolved [RESOLVED] How to get index of textbox array element clicked on?

    Hi there folks! I am working a program with 31 text box arrays with student data. The array is called StudentNameTXT and the array goes from 0 to 30. What I would like to find out is how to get the index of the textbox I clicked on in a msgbox.

    So far I have tried to set up an array, but I can only think of the text box change event, which wouldn't be what I'm looking in this scenario, I don't want to have to change the text, I just would like the index in a msgbox.

    Your expertise is always appreciated!
    Thanks

    I just wanted to clarify, there are not 31 different arrays, just one array with 31 elements in it. : )
    Last edited by Justin M; Apr 29th, 2017 at 11:59 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width