Skip to main content
15-Moonstone
June 1, 2006
Question

GUI List select multiple items?

  • June 1, 2006
  • 1 reply
  • 692 views
I have a process efficiency project where the user needs to open multiple unrelated objects, whose names could vary. Instead of them doing a file-open mutiple times, I'd like to list the probable files in a GUI list, allow the user to select several of them, then retrieve them into session (not display them).

My question concerns the end users abilities in the listbox. Can a user select (highlight) multiple items in a listbox while holding CTRL key down?

ProUIListSelectednamesGet says it Gives the names of the currently selected ITEMS in a list. I assuming "Items" means plural, but just checking before I sink a lot of time into a test, because the GUI apps can be time consuming.

    1 reply

    13-Aquamarine
    June 1, 2006
    Mark,

    Look at the API Wizard under User's Guide->Programming Dialog
    Components->Programming with Lists. You must set the .SelectionPolicy
    attribute either in the .res file or in code with
    ProUIListSelectionPolicySet. The valid values are:



    The SelectionPolicy attribute takes the integer value of the following