× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Chand,

If a User is on a Screen i.e. EXFMT condition has got executed
And then if he presses any function key (F1 to F24 or Enter key) from the
key board then the control is return to the program flow after EXFMT , by
default it is "ENTER" key if the user has not pressed any function key from
F1 to F24 they are SETOFF, they are SETON only when the user hits any one of
them. It is good to SETOFF all the indicators (F1 to F24) before you display
your screen. 


Thanks
Sadiq  



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Shijith_Chand
Sent: Thursday, September 01, 2005 1:57 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: when user presses ENTER key in Display screen How to detect it in
an RPG program? 

 

Dear all,

            When the user presses F1 key we can capture that in the RPG
program by 

            checking the *INKA indicator. Similarly I guess F2 - F24 has
a unique indicator

            associated which can be checked for on/off in the program to
find whether user

            has pressed it.

            My problem is because of the lack any such indicator
associated with the ENTER

            Key .In the program I need to figure out using a single IF
condition whether user

            Has pressed the ENTER key.

            I understand I can do the same by checking all the *INKA -
*INKT indicators and

            If all of them are *OFF it is conclusive that user has
pressed the ENTER key.

           

            Can anybody please tell me a better/smarter option to this?
May be I am missing out

            On some inbuilt features of handling this condition.

 

Thanks & Regards,

S.chand 

 

 



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.