add items to combobox from delphi
Hi,
I try to add items to combobox (newdialog) from delphi but I don't Know How.
Please any help.
Thanks
I try to add items to combobox (newdialog) from delphi but I don't Know How.
Please any help.
Thanks
Comments
var
Page: TfrxDialogPage;
Button: TfrxButtonControl;
Combobox : TfrxCombobox;
{ add a page }
Page := TfrxDialogPage.Create(frxReport1);
{ create a unique name }
Page.CreateUniqueName;
{ set sizes }
Page.Width := 200;
Page.Height := 200;
{ set a position }
Page.Position := poScreenCenter;
//add a combobox
combobox:=tfrxcomboboxcontrol.create(page);
combobox.createuniquename;
combobox.setbounds(60,140,75,25);
combobox.items.add(itemname);
should be something like above