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



Thanks you for that. I guess I will need to add some logic to determine
which set of cursor positions to use. Thank you to everyone for their time.

Jeremy

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Tyler, Matt
Sent: Wednesday, May 24, 2006 2:34 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: INFDS Workstation Flags

Jeremy,
        Look in the Application Display Programming document
(http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c4157150.pdf)
appendix C.  The item you are questioning is in the feed back section
for display files. 

Thanks, Matt



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jeremy Tauriello
Sent: Wednesday, May 24, 2006 12:14 PM
To: 'RPG programming on the AS400 / iSeries'
Subject: RE: INFDS Workstation Flags

Thank you for the information. On a further note does anyone have any
reference listing the flags in positions 367-368 of the INFDS?

Jeremy

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Tyler, Matt
Sent: Wednesday, May 24, 2006 2:00 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: INFDS Workstation Flags

Jeremy,

Put this in your DSPF instead.  According to the DSPF DDS reference you
are allowed to use the keyword twice like below. ROW/COL(1) is reference
position to the entire screen.  ROW/COL(2) is reference position within
a window.

DSPF:
     A                                      RTNCSRLOC(*RECNAME &REC
&FLD)       
     A                                      RTNCSRLOC(*WINDOW &ROW1
&COL1 &ROW2-
     A                                       &COL2)

     A            ROW1           3S 0H
     A            COL1           3S 0H
     A            ROW2           3S 0H
     A            COL2           3S 0H
     A            FLD           10A  H       
     A            REC           10A  H

Thanks, Matt


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jeremy Tauriello
Sent: Wednesday, May 24, 2006 11:26 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: INFDS Workstation Flags

I am using the INFDS to capture the displays current cursor position.
However since the cursor position for the display is in a separate area
of
the INFDS (position 370-371) from the active window cursor (position
382-383) I cannot determine generically which one to use. Any ideas on
how
to determine if the a screen is displayed or an active window? I have
looked
at other areas of the INFDS but could not locate details for the
positions
367-368 the display flags in case it contained something that could be
used.



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.