Hi Paul,
Thanks for your reply.
I had a look at the sample code but unfortunately it does not work 100% for me.
I use the comboBoxAdv control in a master-slave scenario where the combo box is the slave and gets filled dynamically (the bound data-source changes) depending on the selection in the master control.
The code-sample sets the images during the Load event handling, so it is set only one time before the form is displayed and when my data-source changes the icons are not displayed any longer.
When I try to use the init code:
((System.ComponentModel.ISupportInitialize)(m_SourceComboBox)).BeginInit();
comboBoxAdv1.ItemsImageIndexes.Add(new ComboBoxAdv.ImageIndexItem(comboBoxAdv1, "XYZ", 1));
((System.ComponentModel.ISupportInitialize)(m_SourceComboBox)).EndInit();
in a corresponding event-handler (e.g masterControl.SelectedItemChanged) that the icons are updated each time the source of the comboBoxAdv changes it doesn't work.
Is there any change to set the images in a way that it fits into my scenario?
Thanks,
Phil