ALTPAGEUP/DOWN CF Indicator Question

85 pts.
Tags:
DDS
DSPF
RPG
I have (in DSPF) ALTPAGEUP/ALTPAGEDOWN as CF04 and CF05. Are you not able to use CF04 or CF05 elsewhere? example: screen1 subfile...F4/F5 = PageUp/Down screen2 F4=prompt F5=deliver the program doesn't "seem" to recognize the F5 (or F4) on Screen2. There is another program that does this exact same thing and it works. Am I missing something? I read in the DDS Programming Guide that you can't describe the same CFxx if it's already used for ALTPAGEUP/DWN. Thanks

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

The ALTPAGEUP and ALTPAGEDOWN keywords are at file level, not at record level so I suspect that once you’ve defined the ALTPAGEUP or ALTPAGEDOWN that these function keys will get translated as PAGEUP or PAGEDOWN for the whole display file.

Regards,

Martin Gilbert.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    There is another program that does this exact same thing and it works. If it does the exact same thing, then simply copy the way that the other program does it. I suspect that the other program uses a different technique. It probably controls it's PageUp/PageDown through a mechanism other than the DDS ALTPAGExx function. Or it displays two different display files with two different behaviors rather than displaying two record formats from the same file. Or it uses the DSM APIs and does everything in whatever way it wants. Or...? Regardless, I suggest that it's not good practice to switch the meaning of function keys in ways that are only useful in such limited context. If you use ALTPAGExx at all, stay with the fairly standard CF07/CF08. Don't make your users learn an unusual behavior that doesn't apply in general. Someone is going to press a F-key out of habit on the wrong screen. Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following