GenDeathRaiser Posted May 16, 2005 Posted May 16, 2005 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. Quote
SonicBoomAu Posted May 16, 2005 Posted May 16, 2005 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. Quote Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -- Rick Cook, The Wizardry Compiled
GenDeathRaiser Posted May 16, 2005 Author Posted May 16, 2005 That would work, I'll just remove all the ones that cant be used if a certain thing is selected, thanks. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.