freedowsRoO Posted July 8, 2019 Share Posted July 8, 2019 Hi guys! I'm using UNIGUI 1.90, In this version there is the combobox with a new image list property. I don't managed to get the selected image caption. Any help? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 8, 2019 Share Posted July 8, 2019 Hi, 30 minutes ago, freedowsRoO said: I don't managed to get the selected image caption. Do you mean "ItemIndex"? 1 Quote Link to comment Share on other sites More sharing options...
freedowsRoO Posted July 8, 2019 Author Share Posted July 8, 2019 6 minutes ago, Sherzod said: Hi, Do you mean "ItemIndex"? ItemIndex doesn't work, i'm trying to do something like this: procedure TMainForm.UniComboBox1Change(Sender: TObject); Var sVar: String; begin sVar:= UniComboBox1.IconItems.Items[UniComboBox1.ItemIndex].Caption; ShowMessage('test: ' + sVar ); end; Quote Link to comment Share on other sites More sharing options...
freedowsRoO Posted July 8, 2019 Author Share Posted July 8, 2019 up Quote Link to comment Share on other sites More sharing options...
freedowsRoO Posted July 8, 2019 Author Share Posted July 8, 2019 up Quote Link to comment Share on other sites More sharing options...
MSMK Posted July 9, 2019 Share Posted July 9, 2019 21 hours ago, Sherzod said: Hi, Do you mean "ItemIndex"? http://forums.unigui.com/index.php?/topic/12388-combobox/ 1 Quote Link to comment Share on other sites More sharing options...
freedowsRoO Posted July 9, 2019 Author Share Posted July 9, 2019 57 minutes ago, =GGG= said: http://forums.unigui.com/index.php?/topic/12388-combobox/ Yeahh! it's the same problem! ItemIndex doesn't work, always return -1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 9, 2019 Share Posted July 9, 2019 25 minutes ago, freedowsRoO said: Yeahh! it's the same problem! ItemIndex doesn't work, always return -1 http://forums.unigui.com/index.php?/topic/12388-combobox/&do=findComment&comment=67769 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.