Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Former Member Absent Member.
Absent Member.
499 views

[archive] accept xxxxxx from input status

[Migrated content. Thread originally posted on 19 May 2010]

Can anyone explain how the "accept from input status" statement works and what is about?

I am working on some legacy ACU code, and 2 buttons that are defined pretty much the same generate a "0" in one case and a "1" in the other when Enter is pressed on the button.

This button definition generates a "1" when "Enter" is pressed on the button:

display push-button, title "&Update",
line 20.30, position 49.0,
size 11, font ha-small-font,
id id-update-button,
handle ha-update-button,
self-act, termination-value = z-fupdate,

This button definition generates a "0" when "Enter" is pressed on the button:

display push-button, title "&Stop",
line 24.4, position 73.1,
font ha-small-font,
self-act, termination-value = z-fend.


I would like to be able to set the resulting input status to "0" in the first case when "Enter" is pressed on the button.
Is this possible?
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.