skip to main content

Controls Reference : PUSH-BUTTON : Properties : Exception-Value

Exception-Value
If a numeric value different from "0" is set for this property, an exception condition for the active screen is generated when the Push-Button control is clicked.
 
Example - Define a push-button with an exception value
screen section.
  01 screen-1
     exception procedure screen-1-exc-proc
     03 screen-1-pb-2 Push-Button
        exception-value 2020
        column 18.3
        size 9.3 cells 
        lines 2.4 cells 
        event-list ( cmd-goto msg-validate )
        exclude-event-list 1
        title "Accept"
procedure division.
  if key-status = 2020
     display message "Accept button was pushed"
  end-if 

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left