4D v13PV GET CURRENT CELL |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D View v13
PV GET CURRENT CELL
|
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 | |||||
The PV GET CURRENT CELL command returns the coordinates of the current cell of area in the column and row parameters.
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
Product: 4D
Theme: PV Current cell
Number:
15934
Created: 4D View 6.8
PV GOTO NEXT CELL
PV VALIDATE CURRENT CELL