Point to Row Column Method

Short Name: Point To Row Column

Requires: Base Development System

Class: TreeControl Methods

To Use: Create a method.

Converts a pixel coordinate to a tag-column pair in the coordinates of the control. This method also returns whether the point is inside the bounds of the content rectangle and whether the point is within the custom symbol of the cell. The method returns the tag TREE_COLUMN_HEADERS when you wire a point that is within the tree's column headers.

Note  The Point to Row Column method does not return an error for points that lie within a control but outside of the actual cell area for that control, such as the scroll bar. Use the InBounds parameter to verify that a point lies within the cell area of a control.

Parameters

Data typeNameRequiredDescription
PointYesSpecifies the pixel coordinate to translate into a tag-column pair.
In Bounds?NoReturns TRUE if the point is inside the bounds of the content rectangle.
TagYesReturns the tag of the cell in which the point lies.
ColumnYesReturns the column of the cell in which the point lies.
In Symbol?YesReturns TRUE if the point is within the bounds of the custom symbol of the cell.

Remarks

The following table lists the characteristics of this method.

Data typeNo return value
Available in Run-Time EngineYes (Read/Write)
Available in Real-Time Operating SystemYes
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes