C
cpjin
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TForm1.DBGridEh1MouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
if (Button =mbright )and(Shift=up)and ( query_jbqk.RecordCount>0) then //
begin
dbgrideh1.BeginDrag(false);
form1.PopupMenu4.Items.Items[0].Caption:=' '+query_jbqk.fieldbyname('xingming').asstring;
edit1.Text:=query_jbqk.fieldbyname('xingming').asstring;
end;
end;
end.
其中Shift: TShiftState 的取值有那几种?? 我的帮助文件坏了,每办法查
Shift: TShiftState; X, Y: Integer);
begin
if (Button =mbright )and(Shift=up)and ( query_jbqk.RecordCount>0) then //
begin
dbgrideh1.BeginDrag(false);
form1.PopupMenu4.Items.Items[0].Caption:=' '+query_jbqk.fieldbyname('xingming').asstring;
edit1.Text:=query_jbqk.fieldbyname('xingming').asstring;
end;
end;
end.
其中Shift: TShiftState 的取值有那几种?? 我的帮助文件坏了,每办法查