skip to main content

Controls Reference : CHECK-BOX : Styles : Notify

Notify
This style causes a CMD-CLICKED event to be a terminating event. The ACCEPT statement will terminate when the user changes the Check-Box value.
 
Example - Define a check-box in screen section with the notify style
screen section.
  03 screen-1-cb-2 Check-Box
     line 27.0
     column 10.0
     size 116
     lines 30
     event procedure screen-1-cb-2-evt-proc
     title "Sugar for you coffee?"
procedure division.
   evaluate event-control-id
   when 11
      evaluate event-type
      when cmd-clicked
           display message "The check-box [Sugar for your coffee] was clicked"
      when other
      end-evaluate
   end-evaluate.

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