Skip to main content

[Migrated content. Thread originally posted on 22 September 2003]

I'm trying to close my application when double-clicking (MSG-BEGIN-ENTRY) a grid but I don't succeed...
Does anyone encountered this problem, so yes .. what to do.
Txs

[Migrated content. Thread originally posted on 22 September 2003]

I'm trying to close my application when double-clicking (MSG-BEGIN-ENTRY) a grid but I don't succeed...
Does anyone encountered this problem, so yes .. what to do.
Txs
I think I've found a solution, but I wonna know if this is the right approche ...

FORM1-GRID-EV-MSG-BEGIN-ENTRY.
MOVE EVENT-ACTION-FAIL-TERMINATE TO EVENT-ACTION.

FORM1-EX-OTHER.
IF KEY-STATUS = W-EVENT
AND EVENT-TYPE = MSG-BEGIN-ENTRY
SET EXIT-PUSHED TO TRUE.

Txs.

[Migrated content. Thread originally posted on 22 September 2003]

I'm trying to close my application when double-clicking (MSG-BEGIN-ENTRY) a grid but I don't succeed...
Does anyone encountered this problem, so yes .. what to do.
Txs
Dear Hans.

I can confirm that you found a good solution in ending your application by double clicking within the GRID control, as the code that you have included above will terminate the screen ACCEPT cleanly by moving EVENT-ACTION-FAIL-TERMINATE to EVENT-ACTION, and the executes the exit paragraph if the Runtime has received a MSG-BEGIN-ENTRY event.