Posted by member 271752 on 2006-05-19 15:57:59
I've got a label showing the current time and other stats (cpu, ram, etc). When a window is maximized the time is still visible on the right hand bottom corner, but the rest of the label is behind the maximized window. I want the label to become always on top when the mouse enters, and back to behind everything when it leaves (so I don't have to minimize a window to see the stats).
However, any time I use the !LabelAlwaysOnTop command onEnter (or onLeave or even from the lsxcommand module) the label just disappears instead of showing up on top. I've tried toggle, switch, on, off, no setting, and even commands that aren't even in the module anymore, to no avail.
Any help would be greatly appreciated.
Here's the label code:
Also, specifying a hard coded rainmetertext_AlwaysOnTop makes it show up always on top like desired. How can I get this to dynamically show up and go away?
However, any time I use the !LabelAlwaysOnTop command onEnter (or onLeave or even from the lsxcommand module) the label just disappears instead of showing up on top. I've tried toggle, switch, on, off, no setting, and even commands that aren't even in the module anymore, to no avail.
Any help would be greatly appreciated.
Here's the label code:
*Label rainmetertext_
rainmetertext_AlphaMap
rainmetertext_ghosted false
rainmetertext_X -280
rainmetertext_Y -498
rainmetertext_Width 280
rainmetertext_Height 500
rainmetertext_Font $font$
rainmetertext_FontColor $fontcolor$
rainmetertext_fontoutline true
rainmetertext_fontoutlinecolor $fontcoloroutline$
rainmetertext_FontHeight $fontheight$
rainmetertext_bottomborder 3
rainmetertext_FontAlign right
rainmetertext_FontVertAlign bottom
rainmetertext_Image sysinfo.png
rainmetertext_Text $systext$
rainmetertext_OnEnter !LabelAlwaysOnTop rainmetertext_ on
rainmetertext_OnLeave !LabelAlwaysOnTop rainmetertext_ off
rainmetertext_AlphaMap
rainmetertext_ghosted false
rainmetertext_X -280
rainmetertext_Y -498
rainmetertext_Width 280
rainmetertext_Height 500
rainmetertext_Font $font$
rainmetertext_FontColor $fontcolor$
rainmetertext_fontoutline true
rainmetertext_fontoutlinecolor $fontcoloroutline$
rainmetertext_FontHeight $fontheight$
rainmetertext_bottomborder 3
rainmetertext_FontAlign right
rainmetertext_FontVertAlign bottom
rainmetertext_Image sysinfo.png
rainmetertext_Text $systext$
rainmetertext_OnEnter !LabelAlwaysOnTop rainmetertext_ on
rainmetertext_OnLeave !LabelAlwaysOnTop rainmetertext_ off
Also, specifying a hard coded rainmetertext_AlwaysOnTop makes it show up always on top like desired. How can I get this to dynamically show up and go away?