
How to code using scrollbar to expand my textbox? And is it possible to do this using an array? Please share a sample code. Thanks.

Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Syed ShanuRank #87 · 23.7K reputationPosted Mar 3, 2015, 3:26 PM EST
George Jr Manlosa3 reputationPosted Mar 6, 2015, 8:48 PM EST
But I have a new question, is there any way i could shorten this code. I would like to loop this code but i don't know if there is a way i could put the textBox in an array.
myArray[0] = Convert::ToInt32(textBox1->Text);
myArray[1] = Convert::ToInt32(textBox2->Text);
myArray[2] = Convert::ToInt32(textBox5->Text);
myArray[3] = Convert::ToInt32(textBox6->Text);