It is currently April 23rd, 2024, 7:30 pm
Help: Using mouseover action
-
- Posts: 2
- Joined: June 12th, 2017, 1:56 pm
Help: Using mouseover action
I want to change both the 'Image' and the 'text color' at the same time when I hover my mouse over the text. Please help me on how to do it.
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Help: Using mouseover action
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[MeterImage]
Meter=Image
W=64
PreserveAspectRatio=1
ImagePath=#@#Images\
ImageName=Delete.png
[MeterString]
Meter=String
Y=10R
FontSize=15
FontWeight=400
FontColor=194,68,68,255
SolidColor=0,0,0,1
AntiAlias=1
Text=Red X Mark
MouseOverAction=[!SetOption MeterImage ImageName "Check.png"][!SetOption MeterString FontColor "68,194,68,255"][!SetOption MeterString Text "Green Check Mark"][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption MeterImage ImageName "Delete.png"][!SetOption MeterString FontColor "194,68,68,255"][!SetOption MeterString Text "Red X Mark"][!UpdateMeter *][!Redraw]
You do not have the required permissions to view the files attached to this post.
-
- Posts: 2
- Joined: June 12th, 2017, 1:56 pm
Re: Help: Using mouseover action
Thank youjsmorley wrote:Code: Select all
[Rainmeter] Update=1000 DynamicWindowSize=1 AccurateText=1 [MeterImage] Meter=Image W=64 PreserveAspectRatio=1 ImagePath=#@#Images\ ImageName=Delete.png [MeterString] Meter=String Y=10R FontSize=15 FontWeight=400 FontColor=194,68,68,255 SolidColor=0,0,0,1 AntiAlias=1 Text=Red X Mark MouseOverAction=[!SetOption MeterImage ImageName "Check.png"][!SetOption MeterString FontColor "68,194,68,255"][!SetOption MeterString Text "Green Check Mark"][!UpdateMeter *][!Redraw] MouseLeaveAction=[!SetOption MeterImage ImageName "Delete.png"][!SetOption MeterString FontColor "194,68,68,255"][!SetOption MeterString Text "Red X Mark"][!UpdateMeter *][!Redraw]