Hi Everybody,
I tried to contact the support but I'm not sure of the mail so I'm here. I'm not sure too of the right section of the Forum?
I met some problems when I use the combobox with imagelist by code (but manually at design time that works)
I proceed like that :
I put on a form a unicombobox, unibutton, and uniImagelist
ont the button event I'm writing this:
unicombobox.Images := UniImageList1;
intCompteur := 0;
for strLangue in stlListe do
begin
with (unicombobox.IconItems.Add) do
begin
Caption := strLangue;
ImageIndex := intCompteur;
end;
Inc(intCompteur);
end;
I compile and launch the project
But when the browser displays the form the combobox is displaying the 3 items (Choose a language ..., French, English) but without icons.
If I do the same thing at design time by affecting imagelist directly on the component and filling iconitems property manually, I recompile and launch that works!
But I need to run this dynamically, so I'm blocked! Someone as an idea to help me?
Just a last precision, I use Delphi Sydney 10.4.2 with unigui components 1.90.0.1555. Also tried uninstallation of components, cleaning and fresh install but unfortunately not better.
Thanks in advance for the attention you will give to my post and for your assistance.