Board index » delphi » TAB Key

TAB Key

Hi,

how can i deactivate the TAB-key with Delphi 3.0 .

Thanks

Jrgen

j...@reviermarkt.de

 

Re:TAB Key


  OnKeyPress:  If Key = #9 then Key := #0;

--
Jason Wallace
SL Software
Dark...@SLSoftware.reno.nv.us
--
"We are Microsoft.  You will be assimilated.  Resistance is Futile."
--

Quote
Jrgen B?hm wrote in message <6vfbln$m...@forums.borland.com>...
>Hi,

>how can i deactivate the TAB-key with Delphi 3.0 .

>Thanks

>Jrgen

>j...@reviermarkt.de

Re:TAB Key


Quote
>>how can i deactivate the TAB-key with Delphi 3.0 .

procedure TForm1.DBCtrlGrid1KeyDown(Sender: TObject; var Key: Word;
  Shift: TShiftState);
begin
  if key = VK_TAB then
     key :=  0;
end;

=Bill=

Other Threads