R
Richard Buttrey
Good morning.
In the initalisation event of a form I have several labels and list boxes
for which I want to set various properties. For instance
Label1.visible=False, Label2.visible=False.
I realise I can list them individually, but it would be neater if I could
just refer to the label number with a loop counter.
e.g. For x=1 to6
Label(x).Visible=False
Next x
But I can't seem to find the right syntax. The above doesn't work.
Any ideas please. Usual TIA
Richard
In the initalisation event of a form I have several labels and list boxes
for which I want to set various properties. For instance
Label1.visible=False, Label2.visible=False.
I realise I can list them individually, but it would be neater if I could
just refer to the label number with a loop counter.
e.g. For x=1 to6
Label(x).Visible=False
Next x
But I can't seem to find the right syntax. The above doesn't work.
Any ideas please. Usual TIA
Richard