The way I support F23=More options in UIM:
1. Define two identical list panels (PNL1 and PNL2 for example)
2. Specify F23 as a :KEYI in the :KEYL with action='return 23'. You can
use the same :KEYL for both panels.
3. For the :LISTACT tags in PNL1, remove the action-text for those
options you want to display when F23 is pressed.
4. For the final :LISTACT you want displayed in PNL1, add the '...' to
the action-text
5. In the second panel, remove the action-text for the :LISTACT items
you left in PNL1.
6. Add the '...' to the final :LISTACT you want displayed in PNL2.
In your program define a CHAR(10) variable with an initial value of 'PNL1'.
Use this as a parameter on your call to the QUIDSPP API.
If the user hits F23, then 23 will be the value in the function requested
parameter. So, in RPGLE, you'd have something like:
If FunctionRequested = 23;
If Panel = 'PNL1;
Panel = 'PNL2;
Else;
Panel = 'PNL1'
EndIf;
EndIf;
I hope that makes sense. Trust me, it does work!
Richard
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Dennis Lovelady
Sent: 25 March 2010 16:19
To: 'Midrange Systems Technical Discussion'
Subject: RE: UIM and F23=More options
I think the "keyword" you need is MAXACTL
MAXACTL= 2 | 1 | 3 The maximum number of lines used for list action
descriptions. From 1 to 3 lines can be specified; 2 is the default.
Only as
many list action lines as needed are used. This attribute is allowed
only
Thank you very much for the reply, Bryan. Yeah, like I said I need to avoid
MAXACTL since its solution is to add more lines of options... and I'd rather
avoid that. But I do definitely appreciate your researching the issue.
Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"Seeing ourselves as others see us would probably confirm our worst
suspicions about them."
-- Franklin Jones
As an Amazon Associate we earn from qualifying purchases.