Zitat von martenss
Beitrag anzeigen
This will help -still untested, but a strong guess:
Code:
:begin ToggleButton(ID, PageID, [URL="http://redaktion.knx-user-forum.de/lexikon/GA/"]GA[/URL], StatusGA, [URL="http://redaktion.knx-user-forum.de/lexikon/ICON/"]ICON[/URL]) <...> //SM - 110308: replaced [URL="http://redaktion.knx-user-forum.de/lexikon/GA/"]GA[/URL] into StatusGA initga(StatusGA) if pbutton(ID,PageID)==1 then { write(GA,!StatusGA) } endif if StatusGA or after(systemstart(),1u64) then { pdisplay(ID,settime(),ICON,ACTIVE,GREEN,PageID) }endif if StatusGA or after(systemstart(),1u64) then { pdisplay(ID,settime(),ICON,INACTIVE,GREY,PageID) } endif :end
Kommentar