Change clock with hover Thread last updated on 2006-12-13 14:49:36

Posted by member 348804 on 2006-12-13 14:15:11

I would like to change the time to date with a hover on the clock, here is how my clock label is defined, but on hover, nothing happens.

*label clock
clockfont $mainfont$
clockx $ResolutionX-80$
clocky $ResolutionY-90$
clockwidth 50
clockheight 45
clocktext "[time('ii')][time('nn')]"
clockborders 0
clockfontcolor $labelfontcolor$
clocksolidcolors "000000"
clockOnLeftClick timedate.cpl
clockOnLeftRight timedate.cpl
clockOnMouseEnter !clockSetText "[date('ddd. mmm. d')]"
clockOnMouseLeave !clockSetText "[time('ii')][time('nn')]"


Peter
PS. I am working on a new theme. This will be a LS version of the Alpine 2 theme available for Talisman Desktop, but with the addition of nested quick launch icons. So I my be asking for little tidbits here and there.

Posted by member 212670 on 2006-12-13 14:37:54 link

LabelNameOnEnter !LabelSetText LabelName "the new text"
LabelNameOnLeave !LabelSetText LabelName "the old text"

Check the help file. That's in there.

Posted by member 348804 on 2006-12-13 14:49:36 link

sorry, was working off of the .rc files in austerity.
thx for the help
peter