Jump to content

Recommended Posts

Posted

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.?

Posted
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?

  • 2 years later...
Posted
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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...