JoBi
45 pts. | Jul 9 2009 2:38AM GMT
Hi Yorkshireman, thanks a lot for brilliant idea. I’ll take this option instead. BTW, do know when to use the pulldown menu and what is it’s advantage?
Thanks again!!!!
Yorkshireman
3200 pts. | Jul 9 2009 3:18PM GMT
You can include a pseudo menu window in the display panel DDS, and threfore handling it within the (monolithic) pgm, but nowadays I’d go for abstracting the functionality into a separate little program that can be re-used anywhere. Pass in the options list - or a code to define the options, and get back the user’s choice. You could use the same function anywhere, and for any list of functions, if you think about how to define the options to show.
It would have been the case that the pulldown would be slightly quicker to execute, but in the days of bound modules and service programs I’d go for componentisation and reusability every time. A few milliseconds costs less than your time maintaining the monolth - future changes could be only to the options list. .
Rpgking
20 pts. | Aug 6 2009 4:13PM GMT
JoBi, you seriously need to get some training or mentoring or complete your degree at IIT.






