|
-----Message d'origine-------
De : rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de
J.Beckeringh@xxxxxxxxxxxxxxxxxxxxxxxxxx
Envoyé : jeudi 4 novembre 2010 10:56
À : RPG programming on the IBM i / System i
Objet : Re: Indicator DS not working
David,
Have you checked the actual value of gDSPATR_PC in debug?
Joep Beckeringh
David FOXWELLMAIN keyword.
Hi all,
I've already done this before, and I've just copied from a working
program, but it's not working and I can't see what I'm doing
differently. Apart from the fact that my program uses the
want to set
FMYDSPF CF E WORKSTN INDDS ( gIndDS )
* Indicateurs.
D gIndDS DS
D gFunctionKeys 1 24
D gF3 3 3N
D gF4 4 4N
D gF12 12 12N
D gF23 23 23N
* . Positionnement du curseur DSPATR(PC).
D gDSPATR_PC 31 40
D gPC_FIELD1 31 31N
D gPC_FIELD2 32 32N
D gPC_FIELD3 33 33N
In the program, I can use my named function keys ok, but I
the cursor on a particular field. The cursor is always seton FIELD1,
even when gPC_FIELD1 is off and gPC_FIELD2 or gPC_FIELD3 is on.--
A FIELD1 R B 14 34REFFLD(...
A 31 DSPATR(PC)
A FIELD2 R B 15 34REFFLD(...
A 32 DSPATR(PC)
A FIELD3 R B 16 34REFFLD(...
A 33 DSPATR(PC)
Anyone see what's occurring?
This is the RPG programming on the IBM i / System i
(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.
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.