Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I am busy with a project at the moment which I am very excited about but I have got stuck and for the life of me I cannot figure out how to solve my problem. Let me explain:
I have 8 Picture Box's and under each Pic Box I have a Combo Box. Now, lets say, for example, that the user picks a colour from these Combo Box's and then the relevant Pic Box changes to display that colour. Now, there is a limit to how many of a certain colour the user can choose. For eg: The user can only select yellow 4 times.
What I would like is that when the user chooses yellow for the 5th time the combo box and relevant pic box that he used to select it to be reset to what it was ie. Pic box goes back to default aswell as the combo box. Just typing it here I know there is a easy solution but I just cant think of it.
Thanks for any help
0 · ·