Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
desktop:treeview [2019/10/23 00:53]
127.0.0.1 external edit
desktop:treeview [2020/07/19 05:42] (current)
agcyphers [Examples]
Line 15: Line 15:
 | MouseEnterNode( theNode as GraffitiTreeViewNode ) | Is fired when the mouse enters the drawable area of a GraffitiTreeViewNode. | | MouseEnterNode( theNode as GraffitiTreeViewNode ) | Is fired when the mouse enters the drawable area of a GraffitiTreeViewNode. |
 | MouseExitNode( theNode as GraffitiTreeViewNode ) | Fires when the mouse exits the drawable area of a GraffitiTreeViewNode. | | MouseExitNode( theNode as GraffitiTreeViewNode ) | Fires when the mouse exits the drawable area of a GraffitiTreeViewNode. |
-| NodeCollapse( theNode as GraffitiTreeViewNode ) | Signals that a TreeViewNode has been collapsed. |+| NodeCollapse( theNode as GraffitiTreeViewNode ) As Boolean | Signals that a TreeViewNode is to be collapsed. Return True to allow. |
 | NodeDoubleClick( theNode as GraffitiTreeViewNode ) | Fired when a node has been double clicked. | | NodeDoubleClick( theNode as GraffitiTreeViewNode ) | Fired when a node has been double clicked. |
 | NodeEditBegin( theNode as GraffitiTreeViewNode ) | This event signals that the user has clicked the edit icon on a node. | | NodeEditBegin( theNode as GraffitiTreeViewNode ) | This event signals that the user has clicked the edit icon on a node. |
 | NodeEditCanceled( theNode as GraffitiTreeViewNode ) | Fires when the user cancels editing of a node. | | NodeEditCanceled( theNode as GraffitiTreeViewNode ) | Fires when the user cancels editing of a node. |
 | NodeEditComplete( theNode as GraffitiTreeViewNode ) | Signals that the user has completed editing a TreeViewNode. | | NodeEditComplete( theNode as GraffitiTreeViewNode ) | Signals that the user has completed editing a TreeViewNode. |
-| NodeExpand( theNode as GraffitiTreeViewNode ) | Signals that a TreeViewNode has been expanded. |+| NodeExpand( theNode as GraffitiTreeViewNode ) As Boolean | Signals that a TreeViewNode is to been expanded. Return True to allow. |
 | NodeMultiselectionChange(theNodes() as GraffitiTreeViewNode) | Fires when the MutliSelect property is True. | | NodeMultiselectionChange(theNodes() as GraffitiTreeViewNode) | Fires when the MutliSelect property is True. |
 | NodeRemove( theNode as GraffitiTreeViewNode ) | Fires when the user has clicked the remove icon of a TreeViewNode. | | NodeRemove( theNode as GraffitiTreeViewNode ) | Fires when the user has clicked the remove icon of a TreeViewNode. |
Line 126: Line 126:
  
 ==== Examples ==== ==== Examples ====
-There are currently no examples for this class.+=== Expand/Collapse Nodes By Click === 
 +For expanding or collapsing of nodes by interaction with the mouse, you must implement the NodeCollapse and NodeExpand events, and return True.