ListBox and ComboBox

Figure 3-2. Edit List Box Dialog

This value editor allows us to hard-code list items. We can always change them in code. A list item consists of some text or a pixmap or both. Items are added by clicking the New Item button and deleted by clicking Delete Item. The order of items can be changed by clicking an item in the list to select it and clicking the up and down blue arrows to move the selected item. If you want a pixmap click the ellipsis button which will pop up the Edit Pixmap Collection dialog. You can either choose one of the pixmaps shown or click Add to add one from somewhere in your filesystem. To remove a pixmap click the item, then click the scissors button. The same value editor is used for list boxes and combo boxes.