skafy Posted May 25, 2021 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
Alain Debande Posted May 25, 2021 Posted May 25, 2021 I have exactly the same problem ! it would be really cool to have an answer to this problem ! Quote
Sherzod Posted May 25, 2021 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
Alain Debande Posted May 25, 2021 Posted May 25, 2021 Professional 1.90.0.1549 installed this morning Quote
Sherzod Posted May 25, 2021 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
Alain Debande Posted May 25, 2021 Posted May 25, 2021 Is it possible to have a answer to this problem, please ? Quote
Sherzod Posted May 26, 2021 Posted May 26, 2021 6 hours ago, Alain Debande said: I have updated my forum email ! Thank you. Quote
Sherzod Posted May 26, 2021 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
Hayri ASLAN Posted May 26, 2021 Posted May 26, 2021 Hi You can use OnChangeValue event of combobox. Quote
Alain Debande Posted May 26, 2021 Posted May 26, 2021 Sorry my last post was not the right one. Below the good one TUniComboBox.ItemIndex.MP4 Quote
steairfuz Posted December 10, 2023 Posted December 10, 2023 I don't know, but no one has any ideas about this problem, even uniGUI administrators ? Quote
Sherzod Posted December 11, 2023 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
steairfuz Posted December 14, 2023 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
Sherzod Posted December 14, 2023 Posted December 14, 2023 31 minutes ago, steairfuz said: I am talking about the problem Which build and edition? Quote
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.