Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by marius0702,
16. Jul 2008
Nein bei allen checkbox componenten bei onclick oder onchange.
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by marius0702,
16. Jul 2008
procedure TForm1.CheckBoxMultiClick(Sender: TObject);
begin
Case (Sender as TCheckBox).Tag of
0: if CheckBox1.Checked then Listview1.items:='Bla Bla';
1: if CheckBox2.Checked then ...;
2: if CheckBox3.Checked then ...;
3: if CheckBox4.Checked then ...;
4: if CheckBox5.Checked then ...;
5: if CheckBox6.Checked then ...;
6: if CheckBox7.Checked then ...;