TreeControl class/Point to Row Column method

From LabVIEW Wiki
Jump to: navigation, search
VI Server Method Information
Method ID 756A3815
Scope Basic Development Environment
Data Name Point To Row Column
Short Name* Point To Row Column
Long Name* Point to Row Column
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 66
Owning Class Name TreeControl Class
Return Data Type No return value
Invoke Node Point to Row Column
Available in Real-Time Operating SystemYes
Available in Run-Time EngineYes (Read/Write)
Loads the block diagram into memoryNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Remote access allowedYes
Settable when the VI is runningYes

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 type Name Required Description
Numeric Cluster TypeDef Point Yes Specifies the pixel coordinate to translate into a tag-column pair.
Boolean In Bounds? Yes Returns TRUE if the point is inside the bounds of the content rectangle.
String Tag Yes Returns the tag of the cell in which the point lies.
I32 Column Yes Returns the column of the cell in which the point lies.
Boolean In Symbol? Yes Returns TRUE if the point is within the bounds of the custom symbol of the cell.

Uses

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links