Certain Items in a drop down disabled.

GenDeathRaiser

Newcomer
Joined
May 15, 2005
Messages
17
Location
Brick, NJ
How can I make certain items disabled.

For instance lets say I have this

Drop down box1:
Item1
Item2

Drop down box2:
Item1
Item2
Item3

And if they select anything in drop down box 1, I want Item1 and 2 in drop down box 2 to disable or be unselectable, but 3 to still be available.
 
Couldn't you have a case statement on either the lost focus event or text changed event.

I.E.
Case 1
DropDownBox2.Items.Add (Item3)
Case 2
DropDownBox2.Items.Add (Item1)
etc

Hope this gives you some food for thought.
 
Back
Top