双击在DBGRID的DblClick事件中写代码...
比如
procedure Tmainform.DBGRID1DblClick(Sender: TObject);
begin
form1:=Tform1.create(self);
form1.show;
end;
单击在CellClick事件写
procedure Tmainform.RxDBGrid1CellClick(Column: TColumn);
begin
form1:=Tform1.create(self);
form1.show;
end;