Sorry, you'll need to explain better what you're referring to and what you want to happen, in a specific manner. Which toggle menu? Which 2? Which variables? Which extra items? Which symbols? Do these things have a name?Hello, i am back in this Topic[Yincognito] i dont have forggotten you, with my case
.
First i need help in with an other thought breaker.![]()
Simple toggle menu (currently with 2? How can I implement this correctly? I tried using 2 variables for the two extra items. It's supposed to be flexible.But unfortunately it doesn't work properly later with the arrangement of the symbols.The example only shows it with one variable.Code:
[MusicButton]Group=HEADBUTTONSMeter=StringX=([#Addons]=0?([Background:W]-85):([Background:W]-0))Y=12---
I am grateful for your ideasCode:
[AddonYoutube]---LeftMouseDownAction=[!SetVariable Addons (([#Addons]+1)%2)][!WriteKeyValue Variables Addons "[#Addons]"][!UpdateMeter TogglPlayerSelect][!SetVariable OriginalW ([#Addons]=0?#OriginalW#+#add#:700)][!WriteKeyValue Variables OriginalW [#OriginalW]][!UpdateMeterGroup HEADBUTTONS][!UpdateMeasure WebView][!UpdateMeter *][!Redraw]Hidden=(#Show#<>3?1:0)
![]()
![]()
Klick the [GIF]
If it's about the X of [MusicButton] (notice how I specifically name the things I talk about?), then the formula there is OK, and [!SetVariable Addons (([#Addons]+1)%2)][!UpdateMeterGroup HEADBUTTONS][!Redraw] in the LeftMouseUpAction from [AddonYoutube] should achieve the positional toggling in the X of [MusicButton], if that's what you wanted.
Statistics: Posted by Yincognito — Today, 8:26 am