Highlighted
Absent Member.
Absent Member.
1082 views

[archive] DoubleClick on Grid

[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
0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

RE: [archive] DoubleClick on Grid

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.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] DoubleClick on Grid

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.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.