cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

Archicad C++ API
About Archicad add-on development using the C++ API.

Multiple item select DG List

Newbie
Participant

Is there anyone know how to make DG List item to be able to multiple select row as show below picture by press 'shift' key then loop thru mark all select icon?.

 


Snap-2023-07-12-22-33-47.png
1 REPLY 1
Viktor Kovacs
Graphisoft
Graphisoft

There is a separate list box type that can handle multiple selection. Use MultiSelList in your grc file, and DG::MultiSelListBox in your code. After that you need to use the multiple selection interface of the list box, e.g. use GetSelectedItems instead of GetSelectedItem.