I did ask this in passing in another thread, which likely got overlooked, so having come across this issue again, I would like to know why it happens.
In many of my skins, I use this as a MeterStyle:I often find that it works exactly as is, but on occasion, like now, it doesn't return to the originally specified colour.
Could someone explain what the issue is please...
The current code where this isn't working is an image meter, but although I reworked the code to fit and added it direct, it still doesn't return the colour to #Yellow#. I tried using DynamicVariables=1, but that made no difference so I removed it.I can't find it now, but I remember reading that setting an option will change it, but using "" will reset it to it's preset setting, or something like that. Why isn't it doing that now?
Thanks
In many of my skins, I use this as a MeterStyle:
Code:
[sHighlight]MouseOverAction=[!SetOption #CURRENTSECTION# FontColor "#Green#"][!UpdateMeter #CURRENTSECTION#][!Redraw]MouseLeaveAction=[!SetOption #CURRENTSECTION# FontColor ""][!UpdateMeter #CURRENTSECTION#][!Redraw]
Could someone explain what the issue is please...
The current code where this isn't working is an image meter, but although I reworked the code to fit and added it direct, it still doesn't return the colour to #Yellow#. I tried using DynamicVariables=1, but that made no difference so I removed it.
Code:
[Logo]Meter=ImageImagePath=#Graphics#\ImageName=RisingHigh - 128.pngImageTint=#Yellow#MouseOverAction=[!SetOption #CURRENTSECTION# ImageTint "#Red#"][!UpdateMeter #CURRENTSECTION#][!Redraw]MouseLeaveAction=[!SetOption #CURRENTSECTION# ImageTint ""][!UpdateMeter #CURRENTSECTION#][!Redraw]LeftMouseUpAction=[!Refresh]X=220Y=45W=35H=35
Thanks
Statistics: Posted by sl23 — Yesterday, 12:49 pm — Replies 6 — Views 76