× 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.



here is the heax code for keys and some attributes.
hope this help

----- Original Message ----- 
From: "Shijith_Chand" <Shijith_Chand@xxxxxxxxxx>
To: <rpg400-l@xxxxxxxxxxxx>
Sent: Thursday, September 01, 2005 11:13 AM
Subject: RE: when user presses ENTER key in Display screen How to


Thanks Andy for your response.

This is really handy.



date: Thu, 1 Sep 2005 10:00:38 +0100

from: "Andy Youens" <Andy@xxxxxxxxxxxxxxxx>

subject: RE: when user presses ENTER key in Display screen How to

      detect it   inan RPG program?







 Hi there



One way would be to test the workstation DS, then test if the Enter key
has been pressed.



For example;



 //  Screen

FUtEod10d1 Cf   E             WorkStn InfDs( ws_Info )



 // Workstation Info

D ws_Info         Ds

D  cfKey                369    369



D Enter           C                   x'F1'



When cfKey = Enter ;

  Leave ;



Hope this helps



Andy Youens | Senior IBM Consultant | formaserve systems ltd

* 01908 609500 | * 07770 380276 | http://www.formaserve.co.uk
<http://www.formaserve.co.uk/>





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 ...

Replies:

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.