View Single Post
05/01/14, 03:54 AM   #3
arkemiffo
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 16
Thanks for the reply.

No, I haven't tried that. At work at the moment, so I'm not able to try it out right now, but I'll try when I get home.

However, shouldn't the template button hold that already, as it's there already?
And what exactly would that do? The buttons do interact with the mouse click (or mouse down more specifically), it's just that the counter in the handler doesn't seem to be saved by iteration in each instance of the button creation, but all of the buttons hold the number 12 (which is the last iteration of the var counter). When setting the text I do get the correct value from the counter in the antitrait_table[counter][1]. This is what's confusing me. Why the counter does give the correct value in the set text, but not in the sethandler on the very next line.

Last edited by arkemiffo : 05/01/14 at 04:01 AM. Reason: Clarifying where the counter is incorrect.
  Reply With Quote