cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

GUI List select multiple items?

msteffke
14-Alexandrite

GUI List select multiple items?

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 1

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
Announcements
Business Continuity with Creo: Learn more about it here.

Top Tags