TraceTreeNode object

The TraceTreeNode object provides information about the nodes in the tree model, including the type of activity represented by the node. You use the TraceTreeNode object in conjunction with the TraceTree object.

The TraceTreeNode object has no events.

Properties

TraceTreeNode property

Datatype

Description

ActivityType

TraceActivity (enumerated)

A value of the enumerated datatype TraceActivity that identifies the activity represented by the node. Values are:

ActBegin! -- Start and finish of logging.

ActError! -- Occurrences of system errors and warnings.

ActESQL!  -- Embedded SQL statement entry and exit.

ActGarbageCollect! -- Start and finish of garbage collection.

ActLine! -- Routine line hits.

ActObjectCreate! -- Object creation.

ActObjectDestroy! -- Object destruction.

ActRoutine! -- Routine entry and exit.

ActUser! -- Occurrences of an activity you selected.

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control.

ParentNode

TraceTreeNode

The parent of this node. If the parent is a top-level node, that is, a node returned by the EntryList function, the value is an invalid object.


Functions

TraceTreeNode function

Datatype returned

Description

ClassName in PowerScript Reference

String

Returns the name assigned to the object

GetContextService in PowerScript Reference

Integer

Creates a reference to a context-specific instance of the specified service

GetParent in PowerScript Reference

PowerObject

Returns a reference to the name of the parent object

TypeOf in PowerScript Reference

Object (enumerated)

Returns the type of the object