TaskBar REALbasic Plugin |

# TaskBarNode.Constructor Constructor

A TaskBarNode constructor that takes text and node type.

Constructor(
text as String,
nodeType as Integer)

#### Parameters

text
  The text to put in the node.
nodeType
  This parameter specifies the type of the node. See also TaskBarNodeType constants.

#### Remarks

The default node type is TaskBarNodeType.Normal (0). This constructor can be used to create nodes that are only for information purposes. Such nodes have no mouse handling and no images. The information nodes are TaskBarNodeType.Information (1).

category = new TaskBarCategory("Details",false)
me.AddCategory(category)
node = new TaskBarNode("Disk1",TaskBarNodeType.Information)
node.FontBold = true
category.AddNode(node)
category.AddNode(new TaskBarNode("Local Disk",TaskBarNodeType.Information))
category.AddNode(new TaskBarNode("File System: NTFS",TaskBarNodeType.Information))
category.AddNode(new TaskBarNode("Free Space: 120.3 GB",TaskBarNodeType.Information))
category.AddNode(new TaskBarNode("Total Size: 247.8 GB",TaskBarNodeType.Information))

#### See Also

TaskBarNode Class