Try the function KeyDataToShiftState in the Forms unit.
Also see TWinControl.DoKeyDown for an example of it's use doing something
similar to what you want.
David.
DB Solutions.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Thursday, September 28, 2000 10:23 PM
Subject: RE: [DUG]: ALT+ AnyKey
> Well I dont have the Shiftstate....see my last email to the DUG.
>
> Jeremy
>
>
>
>
> --------------------------------------------------------------------------
-
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"