skip to main content

Controls Reference : GRID : Properties : Finish-Reason

Finish-Reason
This property returns a number that represents how the user has left the entry mode. It can only be inquired during the MSG-FINISH-ENTRY and MSG-CANCEL-ENTRY events.
Returned values, defined in isgui.def, are:
In order to activate the extended values, the configuration property iscobol.gui.grid.extended_finish_reason (boolean) * must be set to true.
 
Example - Inquire the finish reason from a grid
procedure division.
           inquire screen-1-gr-1 finish-reason ws-fr
           if ws-fr = grfr-enter-key
              display message "Finish reason: ENTER"
           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