Point to Row Column Method

Short Name: Point To Row Column

Requires: Base Development System

Class: DigitalTable Methods

To Use: Create a method.

Converts a pixel coordinate to a row-column pair in the coordinates of the control. This method also returns whether the point is inside the bounds of the content rectangle.

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 row-column pair.
In Bounds?NoReturns TRUE if the point is inside the bounds of the content rectangle.
Cell PositionNoReturns the row and column of the cell in which the point lies.
  • Row—Returns the row of the cell in which the point lies.
  • Column—Returns the column of the cell in which the point lies.

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