with ADOQuery2 do begin
.........     //读表生成控件
    while not Eof do begin
        with Tcheckbox.Create(self) do begin
            Parent := Panel1;
            Caption := FieldByName('chck').Value;
            Left := E;
            E := E + 160;
            Top := H + 35;
            onclick:=CheckProc; //调用自定义过程
            if Checked=true then begin
             .....
            end;            
..........
procedure TForm2.CheckProc (Sender:TObject);
begin
      改变动态生成的某个checkbox的checked的属性,该如何写?????
 end;