Active Cell:Active Cell Property
Short Name: ActiveCell
Installed With: Base Package
Class: Table Properties
Sets the row and column of the active cell(s).
Elements
Name | Description |
---|---|
Row | Sets the row(s) of the active cell(s). Possible values are 0 n, where n is the total number of rows - 1. Enter –2 to select all rows. |
Column | Sets the column(s) of the active cell(s). Possible values are 0 m, where m is the total number of columns - 1. Enter –2 to select all columns. Enter –1 to select the column header. |
The following table lists example values for this property.
Row | Column | Result |
---|---|---|
–2 | 0 | Selects all cells of the first column, including the column header. |
–2 | –2 | Selects all rows and columns, including column headers. |
–1 | 0 | Selects the header of the first column. |
–1 | –2 | Selects the headers of all columns. |
Remarks
The following table lists the characteristics of this property.
Available in Run-Time Engine and Real-Time Operating System | Yes |
Permissions | Read/Write |
Settable when the VI is running | Yes |
Loads the front panel into memory | No |
Need to authenticate before use | No |
Loads the block diagram into memory | No |
Remote access disallowed | No |
Must wait until user interface is idle | No |
Available with control VIs | No |
Available with global VIs | No |
Available with strict type definitions | No |
Available with polymorphic VIs | No |
Example
Refer to the Table Enhancements VI in the labview\examples\general\controls directory for an example of using the Active Cell:Active Cell property.