Hiding ui-buttons, ui-switch and ui-slider with ui-control - How?

Hiding and showing tabs and groups works fine, but I can't figure out how it's done to ui-buttons, ui-switchs and ui-sliders.

Anyone with some advice ?

You don't - you can disable them (grey out) - but not hide... you add them to a group then hide that.

(Well you probably can if you dig into enough css but it's not built in functionality.)

So you can disable them via the ui-control ?. If so how do I address them ?

Hello,

Hide:
inject msg.enabled = false and msg.background = "transparent" (Do not forget set background property on button to {{background}})

Show:
inject msg.enabled = true and msg.background = "red" (Do not forget set background property on button to {{background}})