magistr
17-12-2007 23:40:52
I have button.
I am set this button disabled, after I am move this button programmaticaly.
Button image is mooved, but text is not.
For compleete move I am use this:
For disabled buttons I am set enable, and after mooving I restore disable
I am set this button disabled, after I am move this button programmaticaly.
Button image is mooved, but text is not.
For compleete move I am use this:
bool isEnable = btn->enabled();
if (!isEnable)
btn->enable();
btn->setPosition(CurrentPosition, yPos);
MonopolistApp::getSingletonPtr()->GetGUIManager()->injectMouseMove(0,0);
if (!isEnable)
btn->disable();
For disabled buttons I am set enable, and after mooving I restore disable