Page 1 of 1

Problem with centerMouse()

Posted: Mon Jun 10, 2013 9:52 pm
by Rado1
Usage of centerMouse() causes problems with browsing of ZApplication and AppState components in the Project tree. If centerMouse() is used in an ZExpression placed to the OnUpdate section, selecting the containing ZApplication or AppState centers mouse in the preview area and mouse cannot be used by the editor. The only way is to navigate by keyboard. I would expect that previewing components do not execute OnUpdate code.

I hope you can reproduce the problem by opening the attached project - just click the App or AppState1 in the Project tree.

Posted: Thu Jun 27, 2013 7:58 am
by VilleK
This is now fixed in the latest beta. Please download and try again.

Posted: Thu Jun 27, 2013 9:40 am
by Rado1
Great! I tested the fix and it works as expected. Thanks.