TreeView REALbasic Plugin

TreeViewParts Module

Part constants for usage with the NodeFromPoint function.

The constants are used like:

If myPart = TreeViewParts.ViewContent then
   
end if

module TreeViewParts

Constants

NodeNeutralArea = 0This constant represents the neutral area in the node, that is the area that belongs to the node but does not respond to clicks.
NodeExpanderArea = 1This constant represents the expanders area in the node.
NodeActiveArea = 2This constant represents the active area in the node, that is the area that belongs to the node and responds to clicks.
NodeCheckboxArea = 3
ScrollBar = 6This constant represents the scrollbar. On some systems like on Windows then this value will never be returned.
ViewContent = 7This constant represents that the given point was not within the header, the scrollbar nor within any node.
Header = 8This constant represents the header area.