I have been working on this problem for a couple days now and have tried multiple things but can not get it to work. I have a form generated at run time that reads multiple text files and in each text file it has the name and dependency of different programs. I then read a config file to determine the systems current configuration and check all the relative boxes. All of that works, the problem comes into play when the checkbox is clicked it is to look at all the check boxes and see if any others have the same dependency and are checked. If there are none checked then the dependency changes color to green and is selectable, if there are some checked with that dependency then the color of the dependency remains yellow. Currently I am storing each checkbox name in the name field and its dependency in the tag field, but I have also tried making lists and cycling through them but the dependency will always revert to green even if there is other checkboxes that are checked and have the same dependency.
Aucun commentaire:
Enregistrer un commentaire