Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
web:tree [2018/08/02 20:58]
agcyphers [Properties]
web:tree [2019/03/17 13:47] (current)
agcyphers [Examples]
Line 72: Line 72:
  
 ==== Examples ==== ==== Examples ====
-There are currently no examples ​for this class.+=== Creating an Item with a FontAwesome Icon === 
 +GraffitiWebTree provides a constructor ​for creating items that have a FontAwesome icon to the left of the node's text. 
 + 
 +<code xojo>dim firstItemFirstChild as new GraffitiWebTreeItem( "test child",​ "fas fa-times"​ ) 
 +firstItemFirstChild.Checkbox = True 
 +me.AddItem( firstItemFirstChild,​ firstItem )</​code>​
  • Last modified: 3 months ago
  • by agcyphers