SetButtonName(id, name)
Posted: Fri Dec 07, 2012 10:38 pm
It would be nice to have a way to change Buttons ID, or even better, set a name for them (which could be later on changed the same way as layers names)
For I am actually right now having bit of a problem with my code that I need to rewrite since I only now noticed i cant change buttons ID.
For so far my program had relied on knowing which button number was being pressed, and that way knowing which layer etc. to move.
But now that I am removing a button from middle, it is going to be very problematic since so far I had made the program to be in way that there was always numbers from 1 to n available for layers and all, and now it seems i need to rethink the system.
For I am actually right now having bit of a problem with my code that I need to rewrite since I only now noticed i cant change buttons ID.
For so far my program had relied on knowing which button number was being pressed, and that way knowing which layer etc. to move.
But now that I am removing a button from middle, it is going to be very problematic since so far I had made the program to be in way that there was always numbers from 1 to n available for layers and all, and now it seems i need to rethink the system.