4D v13PV GET PREVIOUS ACTIVE CELL |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D View v13
PV GET PREVIOUS ACTIVE CELL
PV GET PREVIOUS ACTIVE CELL
The PV GET PREVIOUS ACTIVE CELL command returns the coordinates for the preceding active (current) cell for the indicated area in the column and row parameters. Note: There is no “stack” for current cells, only the preceding cell is known, unlike cells that were first current. It is up to you to manage the memorization of successive current cells if necessary, for example, to install various levels of cancellation. In the example below, we will create a "rebound" effect for a given cell. Put an event management method into place, which will be called every time the active cell changes: PV ON EVENT(Area;pv on active cell changed;"EventMethod") This project method EventMethod causes the user to "bounce" to cell C5. Once this cell has been reached, it is the last current cell that becomes active again, forbidding C5 from being selected by any means: 4D View command, key stroke, mouse, etc. `Method: EventMethod |
PROPERTIES
Product: 4D
INDEX HISTORY
Created: 4D View 6.8 SEE ALSO |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||