skafy Posted May 25, 2021 Share Posted May 25, 2021 Hi, I'm having problem how to read value after I Select a value on my Combobox Editor in Grid column. procedure TMainForm.UniDropDownSelect(Sender: TObject); begin ShowMessage('UniDropDownSelect' + TUniComboBox(Sender).Items.Strings[ TUniComboBox(Sender).ItemIndex]); end; procedure TMainForm.FDQuery1AfterOpen(DataSet: TDataSet); var lala: TUniComboBox; begin lala:= TUniComboBox.Create(Self); lala.Items.Add('lala1'); lala.Items.Add('lala2'); lala.OnSelect:= UniDropDownSelect; UniDBGrid1.Columns.ColumnFromFieldName('COL1').Editor:= lala; end; The UniDropDownSelect allways returning Item Index of -1. How can I retrive value after it vas selected.? Quote Link to comment Share on other sites More sharing options...
Alain Debande Posted May 25, 2021 Share Posted May 25, 2021 I have exactly the same problem ! it would be really cool to have an answer to this problem ! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 25, 2021 Share Posted May 25, 2021 4 hours ago, skafy said: Hi, I'm having problem how to read value after I Select a value on my Combobox Editor in Grid column. 18 minutes ago, Alain Debande said: I have exactly the same problem ! it would be really cool to have an answer to this problem ! We will check. 18 minutes ago, Alain Debande said: I have exactly the same problem ! Can you please specify, which edition and build of UniGUI are you using? Quote Link to comment Share on other sites More sharing options...
Alain Debande Posted May 25, 2021 Share Posted May 25, 2021 Professional 1.90.0.1549 installed this morning Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 25, 2021 Share Posted May 25, 2021 31 minutes ago, Alain Debande said: Professional 1.90.0.1549 installed this morning Please adjust your forum email address: Quote Link to comment Share on other sites More sharing options...
Alain Debande Posted May 25, 2021 Share Posted May 25, 2021 I have updated my forum email ! Quote Link to comment Share on other sites More sharing options...
Alain Debande Posted May 25, 2021 Share Posted May 25, 2021 Is it possible to have a answer to this problem, please ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 26, 2021 Share Posted May 26, 2021 6 hours ago, Alain Debande said: I have updated my forum email ! Thank you. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 26, 2021 Share Posted May 26, 2021 4 hours ago, Alain Debande said: Is it possible to have a answer to this problem, please ? We will check. Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted May 26, 2021 Share Posted May 26, 2021 Hi You can use OnChangeValue event of combobox. Quote Link to comment Share on other sites More sharing options...
skafy Posted May 26, 2021 Author Share Posted May 26, 2021 OnChangeValue event doesn't even fire. Quote Link to comment Share on other sites More sharing options...
Alain Debande Posted May 26, 2021 Share Posted May 26, 2021 TUniComboBox.ItemIndex.MP4 Quote Link to comment Share on other sites More sharing options...
Alain Debande Posted May 26, 2021 Share Posted May 26, 2021 Sorry my last post was not the right one. Below the good one TUniComboBox.ItemIndex.MP4 Quote Link to comment Share on other sites More sharing options...
steairfuz Posted December 10, 2023 Share Posted December 10, 2023 I don't know, but no one has any ideas about this problem, even uniGUI administrators ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 11, 2023 Share Posted December 11, 2023 2 hours ago, steairfuz said: I don't know, but no one has any ideas about this problem, even uniGUI administrators ? Hello, Can you please specify first which edition and build of uniGUI are you using? Quote Link to comment Share on other sites More sharing options...
steairfuz Posted December 14, 2023 Share Posted December 14, 2023 On 12/11/2023 at 12:18 AM, Sherzod said: Hello, Can you please specify first which edition and build of uniGUI are you using? I am talking about the problem that @Alain Debande has raised. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 14, 2023 Share Posted December 14, 2023 31 minutes ago, steairfuz said: I am talking about the problem Which build and edition? 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.