label help Thread last updated on 2006-11-27 17:37:06

Posted by member 352133 on 2006-11-14 14:08:50

I'm trying to create a box with background color and 1 pixel border color. Within this box would be 4 (or more) buttons (I was thinking of using label) that perform specific !execute commands upon being clicked. However, I am having some troubles.

I am using label (so far) and cannot find how to set a bg color. I checked the documentation and it only supports bmp backgrounds. Further, I don't see that setting a border thickness > 0 does any good.

I've checked documentation (found nothing), loose-screws (is down), and tried searching this forum (not working). Should I just add another module and use lsbox? I want to use labels because I can "destroy" them via the !bang !MyLabelDestroy. Can you do that with an lsbox as well?


Thank you in advance.

Posted by member 1885 on 2006-11-14 14:19:37 link

I think you should check out xLabel instead. label is obsolete and xLabel will provide you with all the config options you could possibly need :)

Posted by member 352133 on 2006-11-22 12:28:11 link

OK, so I got xLabel and converted all of my Labels over. However, it still doesn't support a colored border or background, only background images. I looked into LSBox, but it's the same way. Is there some way to get a box with a border without using images?

Posted by member 1885 on 2006-11-22 14:06:30 link

However, it still doesn't support a colored border or background


Haha, good one. Try reading the docs a little bit more closely. If xlabel wouldn't support colored borders or backgrounds, how do you think I made this with xlabel? Hint: no images are used. At all.

Posted by member 5575 on 2006-11-22 21:08:37 link

Well, except for the wallpapers, I suppose.

Posted by member 93947 on 2006-11-23 09:12:25 link

I think West might also be an evil wizard and we should poke him with a pitchfork and/or burn him while we still can!

Posted by member 1 on 2006-11-23 12:41:51 link

"BURN DA WITCHEZ!"

Posted by member 1949 on 2006-11-23 20:03:04 link

You guyz got it all wrong hes a troll...

Posted by member 1885 on 2006-11-23 23:59:37 link

Maybe I should change my nick to "Grendel".

Posted by member 5575 on 2006-11-24 01:20:54 link

But what would your mom think? Does she really want to be Grendel's mother?

Posted by member 352133 on 2006-11-27 11:55:09 link

The truth is: I don't know. The only docs I found were on the xDocs site (http://www.xdocs.ls-universe.info/pie.php?xLabel2). If you could direct me to the correct page there, or to another documentation source that has border and bg color settings included I would be able to find out. I've looked through the Default Configuration, Configuration, and Image Configuration pages. The Overlay Configuration page has some example code that has a "colors", but that's all I've found. Using this, I figured out how to make a background color. Is the only way to make a border to have a label-in-label?

Posted by member 212670 on 2006-11-27 14:24:03 link

\litestep\modules\docs

Posted by member 352133 on 2006-11-27 17:37:06 link

The most obvious solution. I suppose I should have said that I was only able to find xlabel by doing a netloadmodule. I don't have the docs that came with it. I checked there first.

Anyway, I found the module for download with the docs. Looking at the docs... "Oh! It's not in the xLabel documentation, it's in the xPaint documentation!"

That should help. Thanks.