OraFormsVerifyPropRectangle Function

Action

Verifies a rectangle property.

Include file

OraForms.bdh

Syntax

OraFormsVerifyPropRectangle( in sName     : string, 
                             in nPropId   : number, 
                             in nX0       : number, 
                             in nY0       : number,
                             in nX1       : number, 
                             in nY1       : number, 
                             in nSeverity : number optional := SEVERITY_ERROR ) : boolean;

Return value

  • true if successful
  • false otherwise
Parameter Description
sName The control's unique name.
nPropId The property ID.
nX0 x part of the first coordinates.
nY0 y part of the first coordinates.
nX1 x part of the second coordinates.
nY1 y part of the second coordinates.
nSeverity Optional: Severity of the error that is raised if the verification fails. Can be one of the following values:
  • SEVERITY_SUCCESS: Success; no error (numerical value: 0)
  • SEVERITY_INFORMATIONAL: Informational; no error (numerical value: 1)
  • SEVERITY_WARNING: Warning; no error (numerical value: 2)
  • SEVERITY_ERROR: (Default) Error; simulation continues (numerical value: 3)
  • SEVERITY_TRANS_EXIT: Error; the active transaction is aborted (numerical value: 4)
  • SEVERITY_PROCESS_EXIT: Error; the simulation is aborted (numerical value: 5)