4D View v14

PV VALIDATE CURRENT CELL

Home

 
4D View v14
PV VALIDATE CURRENT CELL

PV VALIDATE CURRENT CELL 


 

PV VALIDATE CURRENT CELL ( area ) 
Parameter Type   Description
area  Longint in 4D View area

The PV VALIDATE CURRENT CELL command validates the contents of the current cell while in entry mode. The current cell remains the same.

This command can only be called from a callback method. For more information on callback methods, refer to the PV Area, Introduction section.

Example  

Start by installing the callback method EventMethod, which will be called on double click:

 PV ON EVENT(Area;pv on double clicked;"EventMethod")

This method intercepts the user's double-click:

  `EventMethod method
 C_LONGINT($1`4D View area reference
 C_LONGINT($2`Event
 C_LONGINT($3`Modifying key code
 C_LONGINT($4`Column number
 C_LONGINT($5`Row number
 C_LONGINT($6`Ascii code of the key
 C_BOOLEAN($0`Value to return
 
 $0:=False
 
 If($2=pv on double clicked`In case "EventMethod" will also be called for other events
    BEEP
    PV VALIDATE CURRENT CELL($1`Cell contents are validated
 End if

 
PROPERTIES 

Product: 4D View
Theme: PV Current cell
Number: 15933

 
HISTORY 

Created: 4D View 6.8

 
SEE ALSO 

PV ON EVENT

 
ARTICLE USAGE

4D View Language ( 4D View v11.4)
4D View Language ( 4D View v12)
4D View Language ( 4D View v14)
4D View Language ( 4D v13)
4D View Language ( 4D View v14 R2)
4D View Language ( 4D View v14 R3)
4D View Language ( 4D View v14 R4)