2 Replies Latest reply on Aug 18, 2009 8:28 AM by jimmyoneshot

    Enabling a button only when a tilelist contains items

    jimmyoneshot Level 1

      In my app I have a button that empties a tilelist however I want it to only be 'enabled' when that tilelist actually contains items and disabled when it doesn't.


      What code would I need to apply to the following enabled property of the button to make it only be enabled when a tilelist (simply called tilelist1 in this example) contains at least 1 item?:-