Skip to main content
November 15, 2011
Question

Multiple Selection in ADM Lists

  • November 15, 2011
  • 2 replies
  • 899 views

I have an ADMHierarchyList and I need it to support multiple selection.  I see numerous places in the documention that indicate there is a way to set multiple selection (e.g. "... in a list that supports multiple selection..."), but don't see a way to actually set this behavior.

Any help would be greatly appreciated!

This topic has been closed for replies.

2 replies

November 15, 2011

I just figured it out.  I was thinking it would have been a property of the hierarchy list itself, but it's not.  You have to set the style to kADMMultiSelectListBoxStyle using the ADMItem suite.

A. Patterson
Inspiring
November 15, 2011

SetItemStyle(kADMMultiSelectListBoxStyle) should do the trick.

A. Patterson
Inspiring
November 15, 2011

Other interesting ones are kADMEntryAlwaysSelectedListBoxStyle & kADMBlackRectListBoxStyle. There's a whole bunch in ADMItem.h I don't think all apply to hierarchy lists, but there are some useful ones in there.