4D v13

PV GET CURRENT CELL

Home

 
4D View v13
PV GET CURRENT CELL

PV GET CURRENT CELL 


 

PV GET CURRENT CELL ( area ; column ; row ) 
Parameter Type   Description
area  Longint in 4D View area
column  Longint in Active cell column number
row  Longint in 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.

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

 
PROPERTIES 

Product: 4D
Theme: PV Current cell
Number: 15934

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D View 6.8

 
SEE ALSO 

PV GOTO NEXT CELL
PV VALIDATE CURRENT CELL