PDA

Click to See Complete Forum and Search --> : Changing Label.Text in multiple labels in form.


Jared
Feb 18th, 2003, 10:32 PM
I have a form with around 50 labels. Each have a unique name, (not like label1, label2, etc.).

Is there code to change all the labels on a form at once?

§tudz
Feb 19th, 2003, 04:01 AM
unfortunatly not,
you have to write out all the names of the labels, and set their 'text' property to the new values...

It would be a good idea to have a function that did this, as could do with it :)

Pirate
Feb 19th, 2003, 06:37 AM
Do you want to change your labels while the program is running?