ataylor Posted September 17, 2015 Posted September 17, 2015 Attach a SpinBox object to an EditLine object. Attach callback to EditLine's GUI_CHANGED event. Run world. Manually edit EditLine's contents. GUI_CHANGED callback is fired as expected. Use SpinBox buttons to change EditLine's contents. GUI_CHANGED callback is not fired.
maxi Posted September 18, 2015 Posted September 18, 2015 Hi Adam, You are right, GUI::Changed not fired if attached widget is changing value, because it would cause infinite recurcion. Use GUI_PRESSED callback, it is fired in such cases.
Recommended Posts