Hola, esta pregunta la consegui aqui con el club y es de la siguiente forma:
En el formulario, la PROPIEDAD
KeyPreview : True
y en el mismo formulario, en el EVENTO
OnKeyPress, escribes el siguiente codigo:
if Key = Chr(VK_RETURN) then begin
if GetKeyState(VK_SHIFT) < 0 then
SelectNext(ActiveControl, false, true)
else
SelectNext(ActiveControl, true, true);
Key := #0;
end;
Y te funcionara perfectamente.
Hasta pronto
__________________
Carlos A. Ortega Rios
|