Differences

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

Link to this comparison view

Both sides previous revision Previous revision
desktop:treeviewnode [2019/02/11 22:15]
agcyphers [Methods]
desktop:treeviewnode [2019/10/23 05:53] (current)
Line 19: Line 19:
 | Column( index as Integer ) as String | Returns the string value of the specified column. | | Column( index as Integer ) as String | Returns the string value of the specified column. |
 | ColumnCount() as Integer | Returns the number of columns in the row. | | ColumnCount() as Integer | Returns the number of columns in the row. |
-| Constructor( theText as [[http://​developer.xojo.com/​string|String]], Checkable as [[http://​developer.xojo.com/​boolean|Boolean]] = False, theIcon as [[http://​developer.xojo.com/​picture|Picture]] = Nil, theTag as Variant = Nil, theValue as [[http://​developer.xojo.com/​boolean|Boolean]] = false, isExpanded as [[http://​developer.xojo.com/​boolean|Boolean]] = false, Removeable as [[http://​developer.xojo.com/​boolean|Boolean]] = false, Notifications as [[http://​developer.xojo.com/​integer|Integer]] = 0, Editable as [[http://​developer.xojo.com/​boolean|Boolean]] = False, Reorder as [[http://​developer.xojo.com/​boolean|Boolean]] = False, Expandable as [[http://​developer.xojo.com/​boolean|Boolean]] = False ) | Construct an instance of this class with the supplied parameters as property values. |+| Constructor( theText as String, Checkable as Boolean = False, theIcon as Picture = Nil, theTag as Variant = Nil, theValue as Boolean = false, isExpanded as Boolean = false, Removeable as Boolean = false, Notifications as Integer = 0, Editable as Boolean = False, Reorder as Boolean = False, Expandable as Boolean = False ) | Construct an instance of this class with the supplied parameters as property values. |
 | InsertColumn( index as Integer, columnString as String ) | Inserts a new column string at the specified index. | | InsertColumn( index as Integer, columnString as String ) | Inserts a new column string at the specified index. |
 | RemoveAllColumns() | Removes all column strings from the node. | | RemoveAllColumns() | Removes all column strings from the node. |
Line 26: Line 26:
 ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^ ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^
 | Bounds | REALbasic.Rect | Nil | Auto-filled bounds of the node.  This is for internal-use only. | | Bounds | REALbasic.Rect | Nil | Auto-filled bounds of the node.  This is for internal-use only. |
-| CanCheck ​| [[http://​developer.xojo.com/​boolean|Boolean]] | False | If the node displays a checkbox. | +| CanCheck | Boolean | False | If the node displays a checkbox. | 
-| CanEdit ​| [[http://​developer.xojo.com/​boolean|Boolean]] | False | If the node can be edited by the user. | +| CanEdit | Boolean | False | If the node can be edited by the user. | 
-| CanExpand ​| [[http://​developer.xojo.com/​boolean|Boolean]] | If the node has no children, this may be set to true to allow for dynamically adding/​removing nodes at runtime. | +| CanExpand | Boolean | If the node has no children, this may be set to true to allow for dynamically adding/​removing nodes at runtime. | 
-| CanRemove ​| [[http://​developer.xojo.com/​boolean|Boolean]] | False | If the node can be removed by the user. | +| CanRemove | Boolean | False | If the node can be removed by the user. | 
-| CanReorder ​| [[http://​developer.xojo.com/​boolean|Boolean]] | False | If the user can drag the node to change its position. | +| CanReorder | Boolean | False | If the user can drag the node to change its position. | 
-| Checked ​| [[http://​developer.xojo.com/​boolean|Boolean]] | False | If the node's checkbox is currently checked. | +| Checked | Boolean | False | If the node's checkbox is currently checked. | 
-| Columns() ​| [[http://​developer.xojo.com/​string|String]] | Nil | Cell text for columns beyond the first column, which is dictated by Text property. | +| Columns() | String | Nil | Cell text for columns beyond the first column, which is dictated by Text property. | 
-| Enabled ​| [[http://​developer.xojo.com/​boolean|Boolean]] | False | If the node currently shows as enabled. | +| Enabled | Boolean | False | If the node currently shows as enabled. | 
-| Expanded ​| [[http://​developer.xojo.com/​boolean|Boolean]] | False | If the node is currently expanded to show children. | +| Expanded | Boolean | False | If the node is currently expanded to show children. | 
-| HelpTag ​| [[http://​developer.xojo.com/​string|String]] | ""​ | Tooltip | +| HelpTag | String | ""​ | Tooltip | 
-| Icon | [[http://​developer.xojo.com/​picture|Picture]] | Nil | Icon to display in this node's row. |+| Icon | Picture | Nil | Icon to display in this node's row. |
 | Nodes() | GraffitiTreeViewNode | Nil | Child nodes of this node. | | Nodes() | GraffitiTreeViewNode | Nil | Child nodes of this node. |
-| NotificationCount ​| [[http://​developer.xojo.com/​integer|Integer]] | -1 | Number to display in the notification bubble. |+| NotificationCount | Integer | -1 | Number to display in the notification bubble. |
 | Parent | GraffitiTreeViewNode | Nil | The parent node of this node. | | Parent | GraffitiTreeViewNode | Nil | The parent node of this node. |
-| Selected ​| [[http://​developer.xojo.com/​boolean|Boolean]] | False | If the node is currently selected by the user. |+| Selected | Boolean | False | If the node is currently selected by the user. |
 | Tag | Variant | Nil | A value which the developer may use to store any data. | | Tag | Variant | Nil | A value which the developer may use to store any data. |
-| Text | [[http://​developer.xojo.com/​string|String]] | ""​ | The text of this first column of the node. |+| Text | String | ""​ | The text of this first column of the node. |
  
 ==== Examples ==== ==== Examples ====
 There are currently no examples for this class. There are currently no examples for this class.