Subject | Re: [IBO] Press ESC key in a grid |
---|---|
Author | manuelfresnedaguerra@yahoo.es |
Post date | 2001-08-27T06:36:53Z |
Well my problem persists,i want the second time i press the ESC key
the form raise the OnKeyDown event. I write this code in the
OnShotCut event of the form:
procedure TForm1.FormShortCut(var Msg: TWMKey; var Handled: Boolean);
begin
if Activecontrol is TIB_Grid then
begin
Msg.Result := 0;
end;
end;
it seems that works, is this correct;
the form raise the OnKeyDown event. I write this code in the
OnShotCut event of the form:
procedure TForm1.FormShortCut(var Msg: TWMKey; var Handled: Boolean);
begin
if Activecontrol is TIB_Grid then
begin
Msg.Result := 0;
end;
end;
it seems that works, is this correct;
--- In IBObjects@y..., "Jason Wharton" <jwharton@i...> wrote:
> I'm saying that you can go into IB_Grid.pas and see for yourself.
> That is the source code for the control you are talking about.
>
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com
>
>
> ----- Original Message -----
> From: <manuelfresnedaguerra@y...>
> To: <IBObjects@y...>
> Sent: Friday, August 24, 2001 11:15 AM
> Subject: Re: [IBO] Press ESC key in a grid
>
>