Conditional visibility
#1
Is there anything for conditional visibility based on if a button is enabled or disabled?
Reply
#2
<visible>Control.IsVisible(id)</visible> or <visible>Control.HasFocus(id)</visible> is possible.
Reply
#3
OK, thanks, IsVisible and HasFocus won't do what I am looking for. I'll just have to layout the screen slightly differently.

Thanks
Reply
#4
thedroid Wrote:Is there anything for conditional visibility based on if a button is enabled or disabled?

maybe you can use the same condition that is used to define the enabled/disabled state of the button ?
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#5
ronie Wrote:maybe you can use the same condition that is used to define the enabled/disabled state of the button ?

Thanks ronie but it is being enable/disabled from within xbmc itself. Anyway I have sorted it by adjusting the dialog layout.
Reply

Logout Mark Read Team Forum Stats Members Help
Conditional visibility0