newish to litestep, problems with label and lsbox Thread last updated on 2003-11-15 15:58:44

Posted by member 74896 on 2003-11-14 11:37:14

Greets, I've been using litestep for a little while now and I wanted to try my hand at changing some more significant things in my theme than before. I just switched to serialx and I wanted to put a label over top the command box like in darkzone, but I can't get the label to show up anywhere, much less in the box. Here's my code, does anyone see anything wrong with it?

loadmodule $ModulesDir$label-1.99.dll

LabelAmpText "[WinampSong]"
LabelAmpUpdateInterval 500
LabelAmpScroll
LabelAmpScrollSpeed 1
LabelAmpScrollinterval 50
LabelAmpFont "dungeon"
LabelAmpFontHeight 12
LabelAmpX 9
LabelAmpY 71
LabelAmpWidth 112
LabelAmpHeight 13
LabelAmpRightBorder 1
LabelAmpFontColor 949C9F
LabelAmpImage $LSImageFolder$labelback.bmp
LabelAmpImageMode stretch
LabelAmpOnLeftClick !Execute [!CommandShow][!FocusCommand]

The above is before the box is loaded btw
And then in the box file
*ModuleHook !LabelLsBoxHook LabelAmp

And what's the tag to put code in a box here? I forgot :P.

Posted by member 74896 on 2003-11-14 17:14:53 link

God I feel like an idiot. Not only did I misspell "load" I was loading label before lsbox. It works fine now. Jeez.

Posted by member 71746 on 2003-11-15 13:03:23 link

Glad we could help ;)

To put code in a box, type "code" with square brackets instead of quotes, and "/code" to end the section.

By the way, thanks for listing all your rc commands to set up that label, I was planning on doing the exact same thing with a theme I'm working on and now I can just pilfer your command set hehe :)

Cheers!

Posted by member 74896 on 2003-11-15 15:58:44 link

Glad I could help ;)