Progress
Programming
Handbook
Overriding the Default Handling
You can override the default ENDKEY processing by adding the ON ENDKEY phrase to a block. Suppose you wanted Progress to undo more than the current iteration of the inner REPEAT block. That is, if you press F9 while entering an order–line, you want to undo all the work done on the current order and leave the procedure together:
Here, the inner REPEAT block explicitly states that in the event of the ENDKEY condition, Progress does not undo the current REPEAT block but the outer o–block REPEAT block. In addition, it tells Progress to retry the o–block REPEAT block.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |