Yes.Is it possible with net?
Returns an array with the names of all the controls that belong to the specified control.
Syntax: GetControls (Control Name)
Pass an empty string "", to get all the controls available.
Hi Paulo,
With the GetControl keyword you get an array of the Controls belonging to another Control.
The wish of bdiscount is to have for example an array of TextBoxes like
TextBox(1)
TextBox(2)
TextBox(3)
etc
and have acces to the properties like
TextBox(1).Text
TextBox(2).Text
etc.
he would also use it also like
For i=1 to 3
TextBox(i).Text = "Text"&i
Next
This is different from the GetControls keyword.
Best regards.
Sub Globals
'Declare the global variables here.
Dim b(1)
End Sub
Sub App_Start
Form1.Show
B()=GetControls("")
For i =0 To ArrayLen(B())-1
Control(B(i)).Text="New Txt"
Next
End Sub