 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Michael Fullerton Guest
|
Posted: Wed May 09, 2007 3:10 am Post subject: IWGrid and dynamic comboxes |
|
|
IW 9.0.15
I have an app with a IWGrid. I've filled the first two columns with
comboxes. When the combobox in the second column is clicked I want it
to add the item selected in the combobox in the first column. So the
comboxes in the second column have the following assigned to
OnAsyncClick:
procedure TIWForm1.UpdateCol2Click(ASender: TObject;
EventParams: TStringList);
var
LComboBox,cb1: TIWComboBox;
begin
LComboBox := ASender as TIWComboBox;
cb1 := IWGrid1.Cell[LComboBox.Tag, 0].Control as TIWComboBox;
LComboBox.Items.Add(cb1.Text);
end;
I've verified this code is executed but the item is not appearing in
the second combobox. Anyone see why? |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|