Using the DlgListBoxArray

1 post / 0 new
Brian Element's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57
Using the DlgListBoxArray

The DlgListBoxArray allows you to change the items in a drop list within the dialog.  You have a few alternatives when setting up a drop list, you can include an array in the Attached List properties of the drop down tool or you can use the DlgListBoxArray from within the dialog function.  Tonight I was creating a dialog and because I usually use the DlgListBoxArray I didn't bother to define an array as part of the Attached List properties, when I tried to retreive the item number it kept coming up as blank.  It took me awhile to realize that you need to attach something to the drop list even if you are not using that array to populate the drop list.  If you leave it blank then it returns nothing.  One of the quirks of this tool it seems.