|
::Visual Basic:: How can i control the rate at which i change the properties of labels.. I'm trying to mimic a pump transferring water from one tank to another.. Each tank is made up of 10 tables. At the form load, the right tank's labels all the visible = true and the left tank has visible = false... I want to dynamically change the right tank's labels to visible = false and the left to true at X rate.. The problem I'm having is controlling the rate at which this happens... There are meant to be 5 different rates that the user can set.. rate 1 means it takes 10 seconds to change all the properties and rate 5, 2 seconds. The other problem I'm having is that at the moment i have to directly state each label to change its properties.. Is there anyway i can say like code:
Thanks in advance.
|
# ¿ Mar 4, 2008 19:46 |
|
|
# ¿ Apr 28, 2024 21:52 |
|
Just did a quick search there and it seems control arrays are no longer supported, I'm using visual basic 2008 express edition.. Would you know of any other way i can refer to the labels with a variable? Cheers
|
# ¿ Mar 4, 2008 20:10 |