Function SET184M

LANSA

Function SET184M

********** COMMENT(=======================================================);
********** COMMENT(Process ........: SET_184);
********** COMMENT(Function .......: SET184M);
********** COMMENT(Created on .....: 26/07/00 at 14:43:32);
********** COMMENT(Description ....: Changing the browselist column);
********** COMMENT( heading color and font.);
********** COMMENT(Version.........: 1);
********** COMMENT();
********** COMMENT(Full Description: The purpose of this function is to);
********** COMMENT(show how to change the foreground and background);
********** COMMENT(colors and the font of the browselist column headings.);
********** COMMENT(Note the use of an RDML OVERRIDE statement to alter);
********** COMMENT(the text for the column heading for field #S_184DES.);
********** COMMENT();
********** COMMENT(Disclaimer: The following material is supplied as an);
********** COMMENT(example only. No warranty is expressed or implied.);
********** COMMENT();
********** COMMENT();
********** COMMENT(Receives: nothing);
********** COMMENT();
********** COMMENT(=======================================================);
********** COMMENT(Function control options);
FUNCTION OPTIONS(*DIRECT *WEBEVENT);
********** COMMENT();
********** COMMENT(Group and field definitions);
********** COMMENT();
OVERRIDE FIELD(#S_184DES) COLHDG('Alternate' 'Product Description' 'Column Heading');
********** COMMENT();
GROUP_BY NAME(#S_GRPPANL) FIELDS((#S_184FDES *INPUT *NOID)(#S_FUNDES *HIDDEN));
********** COMMENT((Field #S_184FDES has a component S_184FDES which);
********** COMMENT(merges in a component with the same name as the);
********** COMMENT(function (in this case component SET184M)));
DEF_LIST NAME(#S_184MFVC) FIELDS((#S_184CDE)(#S_184DES)(#S_184QTY)(#S_184UNIT)(#S_184UPRC)(#S_184TPRC));
DEF_LIST NAME(#S_WRKFVC) FIELDS((#S_184CDE)(#S_184DES)(#S_184QTY)(#S_184UNIT)(#S_184UPRC)(#S_184TPRC)(#S_184IMG)) TYPE(*WORKING) ENTRYS(0000500);
********** COMMENT();
********** COMMENT(Mainline);
********** COMMENT();
CHANGE FIELD(#S_FUNDES) TO(*FUNCTION_DESC);
********** COMMENT();
CLR_LIST NAMED(#S_184MFVC);
********** COMMENT(Function SET184Y populates list #S_WRKFVC with data);
CALL PROCESS(*DIRECT) FUNCTION(SET184Y) PASS_LST(#S_WRKFVC );
SELECTLIST NAMED(#S_WRKFVC);
ADD_ENTRY TO_LIST(#S_184MFVC);
ENDSELECT;
********** COMMENT();
REQUEST FIELDS(#S_GRPPANL) BROWSELIST(#S_184MFVC) EXIT_KEY(*NO) MENU_KEY(*NO) PROMPT_KEY(*NO);
********** COMMENT(The appearance of browselist S_184MFVC is altered);
********** COMMENT(because there are two graphical variables:);
********** COMMENT(1. *LW3BLBC_S_184MFVC);
********** COMMENT((Browse List Background Color (Column Heading)));
********** COMMENT(set to value);
********** COMMENT("LIGHTBLUE" HEIGHT=100);
********** COMMENT();
********** COMMENT(2. *LW3BLFC_S_184MFVC);
********** COMMENT((Browse List Foreground Color (Column Heading)));
********** COMMENT(set to value);
********** COMMENT("DARKGREEN" FACE="Bradley Hand ITC");
********** COMMENT();
********** COMMENT(The graphical variables are created using the LANSA);
********** COMMENT(Web administrator. They are of type text.);
********** COMMENT();
********** COMMENT(System variables must also be created with the same);
********** COMMENT(names, (alpha 255 uses 3GL W3@P2100));
********** COMMENT();