Fórum dectar se shift esta pressionada #146867
18/03/2003
0
seria if dbgrid1.shift = ssShift then
begin
processamento
end?
???
ou como???
Anonymous
Curtir tópico
+ 0Posts
18/03/2003
Debora
No evento OnKeyPress
if key = chr(16) then begin
//processamento
end;
Gostei + 0
18/03/2003
Bilouro
ValueMeaning
ssShiftThe Shift key is held down.
ssAltThe Alt key is held down.
ssCtrlThe Ctrl key is held down.
ssLeftThe left mouse button is held down.
ssRightThe right mouse button is held down.
ssMiddleThe middle mouse button is held down.
ssDoubleThe mouse was double-clicked.
procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
begin
if shift =ssShift then
// xxxx
end;
[]´s
Gostei + 0
18/03/2003
Anonymous
if tbKeyIsDown(VK_SHIFT) then
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)