artem_niko Posted April 30, 2022 Share Posted April 30, 2022 Hello! How load UniComboBox dynamically and set ImageIndex, using UniComboBox.IconItems property? This is load UniComboBox, but, without ImageIndex: if FDConnection.Connected = True then begin FDQ:=TFDQuery.Create(nil); FDQ.Connection:=FDConnection; FDQ.SQL.Text:='SELECT * FROM TABLE'; FDQ.Open; UniComboBox1.Items.Clear; FDQ.First; while not FDQ.Eof do begin UniComboBox1.IconItems.Add.Caption:=ВременныйЗапрос.FieldByName('NAME').AsString; ВременныйЗапрос.Next; end; FreeAndNil(FDQ); end; This is work, but, without Images... Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 30, 2022 Share Posted April 30, 2022 Hello, Yes, we have a request for this issue. Quote Link to comment Share on other sites More sharing options...
artem_niko Posted April 30, 2022 Author Share Posted April 30, 2022 4 minutes ago, Sherzod said: Hello, Yes, we have a request for this issue. Currently, I have not yet renewed my license renewal subscription, because until the new versions implement what I need and therefore I use version 1555. Until the release of the new version, there is no other way to solve my question? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 30, 2022 Share Posted April 30, 2022 Ok, we will try to check. Quote Link to comment Share on other sites More sharing options...
artem_niko Posted January 7, 2023 Author Share Posted January 7, 2023 On 4/30/2022 at 10:16 AM, Sherzod said: Ok, we will try to check. Any idea? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.