Set a value for a Button
Posted: Mon Nov 28, 2011 17:32
Hello!
I have an array of buttons, and I'd like to catch some values of these buttons when I click on them.
And I'd like to change these values sometimes so they are not static.
I've looked in the properties list of a the button class(http://cegui.org.uk/static/WindowsLookProperties.html#ID) to find something like "value" for the buttons, but it seems that it doesn't exist.
Is their a good mean to give a value (let say an int or a float) for each button?
Thanx for your help
I have an array of buttons, and I'd like to catch some values of these buttons when I click on them.
And I'd like to change these values sometimes so they are not static.
I've looked in the properties list of a the button class(http://cegui.org.uk/static/WindowsLookProperties.html#ID) to find something like "value" for the buttons, but it seems that it doesn't exist.
Is their a good mean to give a value (let say an int or a float) for each button?
Thanx for your help