Greetings All...
My apologies, I forgot to add something to the demo code I posted, here's what I should have included, so the correct answer should have been...
"Change..."
"...to..."
Making the change made it work properly. Thank you for the prompt response.
Is there any documentation I should read over before miss some differences between the widgets, I followed information on the "Full example" and it shows many widgets but few bindCallback's covering the different types of the callbacks used by different widgets.
This answer should give me enough information to complete my project, a little more work of course. This is way better than when I tried to make my own menu and buttons when I couldn't use this since XP limited Visual Studio 2008, which didn't allow C++11.
Ezk.
My apologies, I forgot to add something to the demo code I posted, here's what I should have included, so the correct answer should have been...
"Change..."
Code Select
spinButton->bindCallback(tgui::SpinButton::LeftMouseClicked);
"...to..."
Code Select
spinButton->bindCallback(tgui::SpinButton::ValueChanged);
Making the change made it work properly. Thank you for the prompt response.
Is there any documentation I should read over before miss some differences between the widgets, I followed information on the "Full example" and it shows many widgets but few bindCallback's covering the different types of the callbacks used by different widgets.
This answer should give me enough information to complete my project, a little more work of course. This is way better than when I tried to make my own menu and buttons when I couldn't use this since XP limited Visual Studio 2008, which didn't allow C++11.
Ezk.