Hi Fran, I believe that you must be referring to Dialog System when you mention Net Express screen? You can use a treeview control to display a list of items that can be expanded or closed by using the + sign. Please see the example under C:\Program Files (x86)\Micro Focus\Net Express 5.1\Examples\Dialog System\COMMONCONTROLS\TREEVIEW. For the Listbox example, yes you can specify a Listbox or ListView as being multiple selection and this will allow you to select a range of items or individual items using the Shift or Ctrl keys with the mouse.and then return those selected items in an array that is specified in the data-block, For the listbox you can use the function GET-SELECTED-LIST-ITEM to return each of the selected items in a loop until they fill an array. BTW, this kind of thing is much easier to do in managed .NET WinForms or WPF in Visual COBOL than it is using native COBOL using Dialog System. Thanks.
↧