Hi
I want to change ForeColor but only for control names starting with letters lbl
I've got something like this
Dim x as control
For each x in controls
' how can I use function left in here to check only the first three letters?see below
If left(x.name,3) = "lbl" then 'this of course doesn't work
x.forecolor = color.orange
End if
Next
Many thanks in advance
I want to change ForeColor but only for control names starting with letters lbl
I've got something like this
Dim x as control
For each x in controls
' how can I use function left in here to check only the first three letters?see below
If left(x.name,3) = "lbl" then 'this of course doesn't work
x.forecolor = color.orange
End if
Next
Many thanks in advance
Comment