xLabel and Transparent Image Thread last updated on 2006-12-18 15:59:05

Posted by member 348804 on 2006-12-18 11:07:45

I am assuming this behaviour is by design, however I am wondering how to circumvent it.

I have a row of icons that I want to hide OnExit (or as an alternative after 5 seconds or so of no mouse activity within the row).

I have set a background image of 1x1 transparent png and stretched it:
*label pl4bg
pl4bgAddToGroup pl4
pl4bgx $mainbarleftx+200$
pl4bgwidth $ResolutionX-275-pl4bgx$
pl4bgImage "empty.png"
pl4bgOnEnter !none
pl4bgOnLeave !LabelHide pl4

However nothing happens. If I set the 1x1 pixel to a solid color the OnExit event works fine, or if I make it a 1x2 pixel with 1//2 transparent and 1/2 solid, OnExit for the solid 1/2 works fine.

So how can one go about having it transparent and still fire OnExit?

Peter

Posted by member 12025 on 2006-12-18 14:20:02 link

a) There's a special setting for handling this sort of thing somewhere in the xLabel docs, but...
b) Just try ckHotSpots or the newer xModule one (by ElkMonster, IIRC).

Posted by member 348804 on 2006-12-18 15:24:53 link

ok, used xHotspot to solve the problem.

Peter

Posted by member 1 on 2006-12-18 15:59:05 link

FYI...you could hop on the IRC channel and get info like this a whole lot quicker. Would also help you not have to track 30 forum threads.