I do increment $t in my program. Didn't paste that line sorry.
Why do you insist on making it difficult for people to help you? A small working example might have even shown you the solution before you posted the question.
Why are you so mean?? I have a small program and that is not the solution - (the $t increment) I am doing that in my program.
If you have to be condescending and mean just don't respond because it doesn't help me solve my problem.
Re^2: Array of TK::Checkbuttons not acting appropriately
rcseege wasn't being mean. He was trying to be helpful. He actually said much the same thing that I did and for the same reason - you have posted a chunk of code that we can't run and can't even analyse in any sensible fashion because it contains a pile of irrelevant code and some code that may be important, but which is clearly using objects that we know nothing about.
The best we can do is guess at what your problem is, and Rob did correctly identify at least one problem with the code you posted.
It is time to be humble, appologise to Rob for complaining about his help and think about how you might present your problem in a fashion such that we can actually help you with it.
I do apologize for coming across as mean or condescending -- that really was not my intent. I admit that I was a bit incredulous and slightly frustrated with the messy snippet you provided which wouldn't run and was littered with references to things defined elsewhere. You didn't even take the few moments required to clean things up a bit so that it would be more readable... I may be overstating things, but I found it borderline offensive, and also not very helpful in getting a resolution to your problem.
Please try modifying one of the other examples provided so that they show the same error condition.