×
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.
You cannot program the behavior of arrow keys, nor monitor for arrow key presses on 5250 terminals. However there is a DDS keyword that may function in a way similar to your needs. That is SFLSNGCHC. You can set an option to control whether the user can use arrow keys to move the cursor out of the choice subfile by selecting the *RSTCSR/*NORSTCSR. And there does not appear to be any restriction on using SFLLIN to get multiple columns. You can have it display radio buttons or not by using *SLTIND/*NOSLTIND. Look in the DDS manual; there is a simple example for SFLSNGCHC.
Mark Murphy
Atlas Data Systems
mmurphy@xxxxxxxxxxxxxxx
-----Gerald Magnuson <gmagqcy.midrange@xxxxxxxxx> wrote: -----
To: "RPG programming on the IBM i (AS/400 and iSeries)" <rpg400-L@xxxxxxxxxxxx>
From: Gerald Magnuson <gmagqcy.midrange@xxxxxxxxx>
Date: 03/01/2017 10:30AM
Subject: Subfile (20 rows, 4 columns per page) arrow keys to move between sfl records
I have my subfile coded to return the SFRRN on enter, and going up and
down works like the user wishes, but they would like when I move left and
right the cursor would jump to the sfl record to the left or right......
I am thinking I need a routine to trap JUST the arrow keys, and then update
the subfile with POSCUR to move the cursor (and a plus would be
highlighting the subfile record..)
has someone some code they could share?
As an Amazon Associate we earn from qualifying purchases.
This thread ...
Re: Subfile (20 rows, 4 columns per page) arrow keys to move between sfl records, (continued)
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.