There are two buttons (or other controls which has some label/text on it which we can read).
and I want that if button1 has label "Music" then only button2 should be visible.
in button2:
<visible> what to write here </visible>
can we write something like this in button2:
<visible> control(idButton1).label =="Music" </visible>
Thanks for Help.
Thank You the function worked !!
But we can not read a control's label like this -> control(idButton1).label
how can we do that?
Control.GetLabel(CONTROL_ID)
So you'll want to use -
PHP Code:
<visible>StringCompare(Control.GetLabel(CONTROL_ID),$LOCALIZE[3])</visible>
Note the use of localize from the
language string so it's universal.
If any of this is not clear in the wiki, then please let us know how it can be improved!
@ jmarshall :
How will I tell, you about wiki ?
means should I message you privately or by posting new thread in forum?
Thank You
Best is posting a thread, with the bit you don't understand, and (if you know the answer) what you think it should say to make it better.
After you've done a few of them, you can start correcting it yourself in the wiki.
@
jmarshall
<control type="progress"> is not explained on wiki please explain in detail.
Added to page to the complete lists.
IMO that page is totaly unreadable. Wouldn't it be better to link to the seperate controls/windows instead of including all the wikis into one page?
I did not understand .
How can I get there again without clicking on the link given by `Black.
Thank You.
(2012-04-17, 14:15)slinuxgeek Wrote: [ -> ]I did not understand .
How can I get there again without clicking on the link given by `Black.
Thank You.
Google Search: Search for "Progress XBMC" and the first result is there !