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.
Problem with centerMouse()
Moderator: Moderators
Problem with centerMouse()
- Attachments
-
- test.zgeproj
- testing project
- (366 Bytes) Downloaded 440 times