LsBox - show at mouse position Thread last updated on 2004-08-01 10:20:03

Posted by member 363 on 2004-08-01 03:27:02

I'm trying to create a right click popup using lsbox as described at http://www.residualvisuals.com/tutorials/ but I find that no matter what I take out or put in, it won't pop the lsbox up at the mouse position, but somewhere else completely different! I'm trying to use lsbox 3.0pre and I think the latest version of jdesk. Any idea why this might happen?

by the way - LsBoxPopupAtMousePos is one of the ones there :D just so no-one says try that

Posted by member 12025 on 2004-08-01 06:23:31 link

The right-click one?
Well, for one thing, I don't know if jDesk takes the *Desktp lines.
However, one way is to use mzScript:
*script bang !my_popup
*script exec !LsBoxShow popup
*script exec !LsBoxMoveBox %{mousex} %{mousey}
*script ~bang

...once you get it working, I suggest you try out xLabel.

Posted by member 363 on 2004-08-01 08:26:04 link

oh, yeah, sorry, I tried it with both desk modules... didn't work with either. I don't know much about mzscript, but I'll give that a go, thanks :D

And as for xLabel... oh thats what I was going to do :D, you read my mind :D

Posted by member 363 on 2004-08-01 10:20:03 link

nope... that doesn't work either... does the exact same thing... if LsBoxAutoHide is in the box file it won't show at all, if it's not there it opens, but it'll only open in one place, with no respect to the mouse co-ordinates...