IsEmpty() - just for ListItem properties?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
djh_ Offline
Aeon Project Founder
Posts: 1,890
Joined: Jun 2007
Post: #1
Could I instead use it to check if a control with a given id has a label or not?

e.g. IsEmpty(Control(75).Label)

...or something?
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #2
Control.GetLabel(75) I think it is, and yes, IsEmpty() is applicable anywhere.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
djh_ Offline
Aeon Project Founder
Posts: 1,890
Joined: Jun 2007
Post: #3
That works. Cheers, jm.
find quote