T
taizhi
Unregistered / Unconfirmed
GUEST, unregistred user!
如题.我写了下面代码,但当按下Shift+方向键时,也滚动了记录.procedure TfrmPowerMain.dxDBGrid1KeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);begin if (Key=VK_Up) And (ssShift in Shift) then PMUpClick(Nil) else if (Key=VK_Down) And (ssShift in Shift) then PMDownClick(Nil);end;