Is it possible to...(have a draggable box with a context menu) Thread last updated on 2003-10-27 04:07:13

Posted by member 12025 on 2003-10-25 19:13:57

Have an LsBox draggable (draggable rectangle covering the entire box) and also have a right-click action of some kind?
It doesn't seem possible with just LsBox, and I don't know of any way (if there even is one) to isolate a single box for subclass.

Posted by member 7223 on 2003-10-26 10:18:44 link

You have to define the "lsboxdragdrect" to not recover all the box. In the parts that are not "lsboxdragdrect", you can perform clicks

Posted by member 71746 on 2003-10-26 10:34:14 link

I don't know if this would work, but you could try defining a shortcut using shortcut3 that used no image and covered the lsbox.. Set the shortcut to have no left-click action, and to belch up the popup on a right-click. If you hook shortcut3 to the LsBox it should follow the LSBox around too.. Only problem is I don't know if that would end up interfering with any other buttons in the box or even the dragging (ie, shortcut3 may catch the left click and just do nothing with it, instead of passing it to the lsbox..)

Worth a shot anyway.

You may also want to look into SkinBox or WhiteBox, afaik they're LsBox clones with other features.. I've never used 'em myself though.

Posted by member 12025 on 2003-10-26 10:50:12 link

I'll try that. In this case there are no other buttons or anything in the box. The box is just to drag around (other boxes are docked to it).
Skinbox doesn't work in .24.7, and I'm not sure about whitebox (for one thing, it has no docs).

Posted by member 99 on 2003-10-26 15:47:42 link

Actually skinbox is more like a very flexible shortcut module, it just happens to be possible to use it like lsbox (it's far from intuitive). WhiteBox is just an older version of it and probably shouldn't be used.

and there is a version that works on .24.7, but it's still in testing.

Posted by member 265 on 2003-10-26 16:55:10 link

riiiight, and next you'll be telling us tales of a magical module that automatically downloads and installs other modules. :P

Posted by member 1413 on 2003-10-27 04:07:13 link

Omar, you forgot your sarcasem tags.. :)