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

Help: Rainmeter Skins • Re: how to prevent mouseleaveaction when over text box

$
0
0
If you really want to keep the current behavior in your skin while taking the input text measures into account as being part of the skin as well, here's one way to do it:
https://forum.rainmeter.net/viewtopic.php?t=44801&start=30#p229727

That code is about a different skin, but if you add the parts that contain the [TrueMouseOver] measure and the SkinMouseOver, InputTextInto and Delay variables to similar locations in your skin's code (like the measures part, the [Variables] section, the Command and OnDismissAction options in your input text measures, as well as the MouseOverAction / MouseLeaveAction of your background meter and the LeftMouseUpAction of your input text related meters), then you could place your !DeactivateConfig bang in the IfTrueAction of the [TrueMouseOver] measure, and it will execute when the mouse is "out of" both the skin itself and the input text "controls" mentioned by jsmorley (as opposed to only when the mouse is out of the skin itself).

This assumes you replace the BackgroundMode and SolidColor options from [Rainmeter] with an equivalent background meter like a rectangular Shape meter or a solid colored Image meter, and have DynamicVariables=1 on every [section] using one of the 3 variables mentioned above.

Statistics: Posted by Yincognito — Today, 11:44 am



Viewing all articles
Browse latest Browse all 1065

Trending Articles