I’ve tried several things, but keep on getting the error. I was wondering if anybody else is getting this? Solution works fine in 6.0.x but in 6.1 suddenly all popupmenu’s stopped working.
I’ve tried several things, but keep on getting the error. I was wondering if anybody else is getting this? Solution works fine in 6.0.x but in 6.1 suddenly all popupmenu’s stopped working.
Sem, we just modified the window plugin so your code should not throw an error now. This will be available in the next public release of 6.1.
But as Andrei pointed out already, the last argument should be an int (you can use MenuItem.ALIGN_* constants).
I’ve also rewritten my code a bit, I’m not getting an error anymore in the current release. I got a bit scared of the errors, since the code was working before 6.1. But all is ok now