Skip to main content

[archive] Paged grid control question

  • October 6, 2008
  • 1 reply
  • 0 views

[Migrated content. Thread originally posted on 03 October 2008]

I have a paged grid control with a bitmap on each line, when selecting the bitmap I do in fact get a MSG-BITMAP-CLICKED and I go to a paragraph to capture information from the grid, at that point I want to terminate the program without pressing the Esc key that would normally terminate the program.

After the MSG-BITMAP-CLICKED and the perform is completed it immediately issues a MSG-GOTO-CELL-MOUSE of which I do nothing and the program return back to the accept statement.

Does anyone know how to gracefully terminate the program so will go through the normal exit procedure that Acubench generates when the Esc-key is pressed (exit-pushed 27).

1 reply

[Migrated content. Thread originally posted on 03 October 2008]

I have a paged grid control with a bitmap on each line, when selecting the bitmap I do in fact get a MSG-BITMAP-CLICKED and I go to a paragraph to capture information from the grid, at that point I want to terminate the program without pressing the Esc key that would normally terminate the program.

After the MSG-BITMAP-CLICKED and the perform is completed it immediately issues a MSG-GOTO-CELL-MOUSE of which I do nothing and the program return back to the accept statement.

Does anyone know how to gracefully terminate the program so will go through the normal exit procedure that Acubench generates when the Esc-key is pressed (exit-pushed 27).
I have sometimes used
MOVE EVENT-ACTION-FAIL-TERMINATE TO EVENT-ACTION
to force an accept to terminate after grid activity.