ErweiterterButton / DisabledActive

Ein Erweiterter Button scheint im Aktiven Status nach Deaktivierung nicht die Deaktiviert Farben zu verwenden, “ActiveDisabledColor=XXX” hat keine Auswirkung.

Kann man per Fernsteuerungs-Konsole einfach Testen (vorher ein Erweiterten Button anlegen: an = bg -> red; aus bg -> yellow; disabled => bg -> green):

Mairlist starten
-> BUTTONNAME DISABLE -> bg = green
-> BUTTONNAME ENABLE -> bg = red
-> Anklicken -> bg = yellow
-> BUTTONNAME DISABLE -> bg = yellow

Absicht (es gibt ja auch keine Aktiv + gesperrt Farbe im Config), oder Bug? - Falls das Absicht ist: Das hier ist ein Feature-Request und bitte verschieben :wink:

v5.2

Hm, ja, ist was dran…

Ab Build 2952 wird es auch DisabledActive als Zustand geben. Bitte mal testen.

Die Aussage ist korrekt - funktioniert nur leider nicht ganz :wink:

[ScreenObject35]
Type=ExtendedButton
Enabled=on
Position=BrowserTop
BorderWidth=0
BorderColor=#000000
RemoteID=BUTTONNAME
Style=Toggle
DefaultActive=off
ExecuteActions=on
DefaultCaption=Button
InactiveCaption=
InactiveHoverCaption=
ActiveCaption=
ActiveHoverCaption=
DisabledCaption=
DisabledActiveCaption=
ActivateActions=<ActionList><Action Class="EncoderSwitchInput" Input="Line"/></ActionList>
DeactivateActions=<ActionList><Action Class="EncoderSwitchInput" Input="Line" NewState="off"/></ActionList>
InactiveColor=#FFFFFF
InactiveBorderColor=#000000
InactiveFontName=Tahoma
InactiveFontSize=14
InactiveFontStyle=0
InactiveFontColor=#000000
InactiveHoverColor=#000000
InactiveHoverBorderColor=#FFFFFF
InactiveHoverFontName=Tahoma
InactiveHoverFontSize=14
InactiveHoverFontStyle=0
InactiveHoverFontColor=#FFFFFF
ActiveColor=#FF0000
ActiveBorderColor=#FFFFFF
ActiveFontName=Tahoma
ActiveFontSize=14
ActiveFontStyle=0
ActiveFontColor=#000000
ActiveHoverColor=#FFFFFF
ActiveHoverBorderColor=#000000
ActiveHoverFontName=Tahoma
ActiveHoverFontSize=14
ActiveHoverFontStyle=0
ActiveHoverFontColor=#000000
DisabledColor=#FF8000
DisabledBorderColor=#C0C0C0
DisabledFontName=Tahoma
DisabledFontSize=14
DisabledFontStyle=0
DisabledFontColor=#808080
DisabledActiveColor=#0080FF
DisabledActiveBorderColor=#000000
DisabledActiveFontName=Tahoma
DisabledActiveFontSize=14
DisabledActiveFontStyle=0
DisabledActiveFontColor=#FFFFFF

Unbenannt.png

“Funktioniert nicht ganz” heißt konkret was?

Sorry, ich dachte die Collage waere eindeutig:

Das Verhalten ist wie zuvor: Aktiv + gesperrt = Rot statt Blau mit DisabledActiveColor=#0080FF - Anklickbar ist er dann nicht mehr, nach dem DISABLE Befehl, nur halt nicht Blau :slight_smile:

Oh ja, da hakte noch was. Teste mal den 2954.

Funktioniert nun so wie gedacht. Der 2954 ist meine neues Lieblingsbuild :slight_smile: