FreddieBlassie
Programmer
I have a group of checkboxes that have independent onValues associated to them. I am trying to find a way to create a list using these checkboxes, so that when a checkbox is selected its onValue is added to this list (named portList) and when it is deselected it is removed. I'm not sure if I would have to call a procedure to accomplish this or what. Could someone help me with it? Thanks...Here's the part I can figure out:
checkbutton .check1 -text 1 -onvalue {1 1 1}
checkbutton .check2 -text 2 -onvalue {1 1 2}
checkbutton .check3 -text 3 -onvalue {1 1 3}
checkbutton .check4 -text 4 -onvalue {1 1 4}
checkbutton .check1 -text 1 -onvalue {1 1 1}
checkbutton .check2 -text 2 -onvalue {1 1 2}
checkbutton .check3 -text 3 -onvalue {1 1 3}
checkbutton .check4 -text 4 -onvalue {1 1 4}