Hi guys,
I have 5 custom controls on my page.
custom1
custom2
custom3
custom4
custom5
All i want to do is this:
x = 1
custom(x).text = "hello"
But i cannot work it out without big functions and checking every control on the page.
Please help!!! :thumb:
Cheers.Create a control array
Dim myControlArray As custom() = New custom() {custom1,custom2,custom3,custom4,custom5}
Cheers mate.
Works great.
0 comments:
Post a Comment