So for my school assessment we are making a prototype government voting system, in order for this to work users will have to enter there PARTY preference in orders of 1-15 (15 being the max we are allowed for this assignment)
So I decided to have a combobox for each party.
BUT, a preference can only be set once, so you can set your first preference for one party, but then you have to do something besides one for the rest, e.g. 2-15.
How would I make it so once one of the combobox selected items contains a value, the rest of the comboboxes cannot use it.
e.g. You enter 1 into the combobox for Party 1
then goto enter 1 in party 5
I would like a messagebox error to popup
I would like to do this without 5000 lines of code as I know its possible as others in my class have a solution.
So I decided to have a combobox for each party.
BUT, a preference can only be set once, so you can set your first preference for one party, but then you have to do something besides one for the rest, e.g. 2-15.
How would I make it so once one of the combobox selected items contains a value, the rest of the comboboxes cannot use it.
e.g. You enter 1 into the combobox for Party 1
then goto enter 1 in party 5
I would like a messagebox error to popup
I would like to do this without 5000 lines of code as I know its possible as others in my class have a solution.