Related to the proposed bangs, note that adding a !UpdateMeter bang without a !Redraw is completely useless, because even if you update a meter (in this case the Box meter) you can't see the result unless the skin is redrawn. This to happen, you have to add a !Redraw bang as well, beside the !UpdateMeter. If you don't add it, the result of the update is visible only after the next update cycle of the skin, when a redrawn is anyway done.mak_kawa wrote: ↑August 31st, 2019, 9:41 pm Add [!SetOption Box Text "Search..."][!UpdateMeter Box] to the end of the Command1= line of [SearchButtoInput] measure.
And, add OnDismissAction=[!SetOption Box Text "Search..."] to [SearchButtoInput].
Also, remove LeftMouseDownAction=!HideMeter "Box" from [SearchButtoInput]
Further, modify the LeftMouseUpAction= line in [Box] meter to LeftMouseUpAction=[!CommandMeasure SearchButtonInput "ExecuteBatch 1"][!SetOption Box Text ""][!UpdateMeter Box].
It is currently April 19th, 2024, 3:27 am
Meter hiding when other one is active
-
- Rainmeter Sage
- Posts: 16144
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Meter hiding when other one is active
-
- Posts: 908
- Joined: December 30th, 2015, 9:47 am
Re: Meter hiding when other one is active
Thanks balala for kind guidance. I am a sort of birdbrained...
-
- Rainmeter Sage
- Posts: 16144
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Meter hiding when other one is active
No, you are not. Probably what have I described is not obvious, at least not from the beginning.