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



I've tried every combination I can think of. None give useful results. Also, the push button doesn't draw completely. My conclusion is that the development of these advanced features for 5250 withered on the vine as the new GUIs like Windows 3.1 gained a foothold.

Ah well, check boxes and radio buttons still work in subfiles, and that was fun to do.



On 10/28/2012 10:28 AM, Richard Marion wrote:
After your Exfmt statement, issue a read statement of the format that
contains your additional information.



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Booth Martin
Sent: Saturday, October 27, 2012 2:55 PM
To: RPG programming on the IBM i / System i
Subject: Push button on screen with subfile

Push button on screen with subfile:

Yes, I know green screen is old-school. But I am old-school, too, so its
OK. :)

I have a 5250 screen with two subfiles - the left subfile lists a few
states, and when a user selects one of those states, then the right-side
subfile is populated with cities from that state. Then, the user can
select one or many of those cities from the second subfile. I did this just
as a demo of the use of radio buttons, check boxes, and scroll bars in an
ordinary 5250 green screen. It works decently. A screen shot is at
http://www.martinvt.com/Subfiles/Two_Subfiles/two_subfiles.html

I was unable to add push buttons to the Footer of the screen and read them.
Since I couldn't make it work, that probably means I don't understand what
is happening, and therefore the following explanation
may be very, very wrong. There are four record on the screen, three
with elements that are input-capable. But it appears to me that only one
record can be input-capable at a time. When I have an exfmt line, only the
elements on that record are read. The result is that a user can not click
the push buttons if either subfile is active.

My question is: is it possible to read more than one record at a time?



--
Booth Martin
802-461-5349
http://www.martinvt.com




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.