Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1538

Help: Rainmeter Skins • Re: Slider actiontimer trigger

$
0
0
There is something it may be normal behaviour or perhaps not, is that I have to click twice each Square to make it slide open or slide close...
No, it's not normal. That being said, it doesn't happen for me after installing your skin - I only have to click once to slide a square opened. Obviously, I have to click once again to slide it closed. In other words, I experience normal behavior in your skin, in regards to sliding. So, good job!
By the way, expanding stuff up like you referred to in your previous post, or offsetting the menu items upwards so that they display right from the top of the menu background are both possible, but as I said, playing a little with the coordinates on a logical base is something that's up to you, as the base code certainly allows that if needed and adjusted accordingly.
EDIT: Ok, I see what you mean now with sliding: the issue happens only when you click another square while the previous one is still open. You'll have to first command all menus to close before opening the current menu, when clicking.

EDIT2: Actually, you'll have to command the other menus to close before opening the current menu, and also to make sure the State variable has the correct value according to the state of the current menu beforehand (since it's reused for all menus). Example, for [Bar1] (you do the others):

Code:

LeftMouseUpAction=[!SetVariable State (#Bar1Ext#=0?1:2)][!CommandMeasure Slide "Execute 2"][!CommandMeasure Slide2 "Execute 2"][!CommandMeasure Slide1 "Stop 1"][!CommandMeasure Slide1 "Stop 2"][!CommandMeasure Slide1 "Execute [#State]"][!SetVariable State (3-[#State])]
Desktop_2025_03_24_18_59_24_587-ezgif.com-optimize.gif

Statistics: Posted by Yincognito — Yesterday, 4:23 pm



Viewing all articles
Browse latest Browse all 1538

Trending Articles