Board index » delphi » Combobox.Items.AddObject question
eric
Delphi Developer |
Sat, 29 May 2004 02:50:56 GMT
Combobox.Items.AddObject question
i have a form with a combobox and a bunch of edit fields. the editfield.text
should be tied to the entry in the combobox, so that picking a new combobox entry populates the edit fields. and if the user fills in a new entry for the combobox and editfields, then the edit fields are remembered. i was thinking that all the editfields would be in an object and this object i must not understand something about this, since this sample code isn't type TProfile = class var implementation {$R *.DFM} procedure TForm1.FormCreate(Sender: TObject); procedure TForm1.FormDestroy(Sender: TObject); procedure TForm1.btnSaveClick(Sender: TObject); procedure TForm1.ComboBox1Click(Sender: TObject); -- |