I have a 30 buttons each label 1-10 three times, so i have three 1's, three 2's etc.

I have 4 text boxes, when i hit any 4 buttons then it will fill the 4 boxes.

I need to return a value of true if the text boxes contain 3 numbers that can be in order.

So if the number was 7498 then that would be true - 789

or 9243 would be true as 234.

I tried to compare the boxes and then add a count, if x = 3 then true but I ran into trouble as the boxes can have the same numbers - 2223.

Any ideas as I am completely lost now - been staring at it so long it doesn't look like it is in English any more.