http://www.martinvt.com/Code_Samples/code_samples.html
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Gary Thompson
Sent: Wednesday, November 13, 2013 1:55 PM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: RE: Subfiles and mouse
Doug,
There were several good suggestions last week from Booth Martin, Douglas Englander and Trevor Briggs so you might look for those on Midrange.com - but I've not seen the exact solution you're asking about.
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Englander, Douglas
Sent: Wednesday, November 13, 2013 10:59 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Subfiles and mouse
Does anyone know if I can create a subfile record that has a pushbutton or a choice field in it? I know I can have a subfile list with the familiar "Opt" column where a user can enter the various options a program could allow for each record in the subfile. For example, 2 for Edit, 5 for Display, etc. The option would be performed on each row.
What I want to do is to have one or two pushbutton fields on each row, and as my program reads through the subfile, it could read the pushbuttons fields, check if they are "clicked" and perform the requested function. Instead of using the "5=Display", I'd use the pushbuttons instead.
Any ideas?
Thank you,
Doug
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.