Text Boxes with Similar Names txt1, txt2 and so forth


Author
Message
Terry Bottorff
Terry Bottorff
Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)Advanced StrataFrame User (770 reputation)
Group: Forum Members
Posts: 448, Visits: 12K
I have several text boxes on a SF win Form with similar names txt1 through txt10 and I have an array ar(0) through ar(9) that has integers stored. I would like to set up a loop that would let me store the following:



me.txt1.text = ar(0)

me.txt2.text = ar(1)



and so forth. Is there a way to do this using a loop of some sort? I also know I need to convert the integers to strings I think. TIA.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search