October 15th, 2013, 10:36 AM
Join Date: Oct 2013
Time spent in forums: 2 h 37 m 45 sec
Reputation Power: 0
making sets of controls visible based on user input
I am trying to change the visible property on some controls to true based on a number input from the user from txtNoOfRes.
lblRes1 txtWorker1 txtDemand1 txtHours1
lblRes2 txtWorker2 txtDemand2 txtHours2
and so on up to ten.
on load their visible property will be false.
if user typres in 1, then the first row is made visible.
if user types 2, then the first 2 rows are visible.
and so on.
how do i loop through and set their visible property to true based on the user input?
Thanks in advance for any help you can give me.
Last edited by dominofoe : October 15th, 2013 at 02:42 PM.
Reason: Better title more question