;) How to enable a popup button on a label or placing a shortcut ON a label Thread last updated on 2003-10-24 11:57:14

Posted by member 72838 on 2003-10-24 06:53:39

Hi,

i want to emulate a windowslike startbutton -->
*Shortcut "popup menu/litestep folder" 0 -20 main_sw.bmp .none main_pressed.bmp #1 [!Popup x=0 y=-47 bottom left][!execute "$LiteStepDir$"]

Works fine but its just the button i need the background to be behind the button, this works fine when i place it in an LSBOX file but then nothing happens when i pressed the button. The DOCS for the lsbox.dll doesnt´t help me :(

Posted by member 7 on 2003-10-24 10:05:18 link

lsbox has builtin shortcuts which use a different syntax. They're not identical to what you get from shortcut2.

Posted by member 12025 on 2003-10-24 10:32:27 link

from the doc of LsBox 2.9.5, with lt and gt symbols replaced by { and }, due to the forum server doing something odd with them:
*Shortcut {Hint} {xPos} {yPo}s {Normal} {Over{ {Clicked} (#{group}{h}) {(Bang)Command(s)}

Posted by member 37809 on 2003-10-24 11:57:14 link

the syntax you present looks like it's for use with lsbox 3.0pre: the end of it being
[<left click action>][<right click action>],
and hence breaks support for !execute [etc][etc] (your syntax for !execute is wrong for the right click action), but it seems on left click the popup should still show.