PV GET CURRENT CELL
version 6.8
PV GET CURRENT CELL (area; column; row)
Parameter | Type | Description | |
area | Longint | 4D View area | |
column | Longint | Active cell column number | |
row | Longint | Active cell row number |
Description
The PV GET CURRENT CELL command returns the coordinates of the current cell of area in the column and row parameters.
Example
Starting from the object callback of a button, display the string "Here" in the current cell.
C_LONGINT($Column;$Row) `To get coordinates
PV GET CURRENT CELL (Area;$Column;$Row) `Cell coordinates
If ($Column#0) & ($Row#0) `There is a cell selected
PV SET CELL STRING VALUE (Area;$Column;$Row;"Here") `This cell currently contains "Here"
End if
See Also