yip all sorted.
Thanks, Jeremy Coulter
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Myles Penlington
Sent: Friday, 7 September 2001 13:01
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Trapping ctrl+v
That's right, neither does A
hthehehe
>
> Thanks, Jeremy Coulter
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Andrew Little
> Sent: Thursday, 6 September 2001 16:44
> To: Multiple recipients of list delphi
> Subject: Re: [DUG]: Trapping ctrl+v
>
>
>
ients of list delphi
Subject: RE: [DUG]: Trapping ctrl+v
thanks for that.
The problem seems to be that when the ctrl is held down, it doesnt fire the
keypress or keyup events.
Strange.
Jeremy Coulter
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of A
-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Andrew Little
Sent: Thursday, 6 September 2001 16:44
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Trapping ctrl+v
Hi,
This is a bit clugie, but it seems to work :) There is probably an API
hidden away some where.
FCtrl
: Multiple recipients of list delphi
Subject: Re: [DUG]: Trapping ctrl+v
Hi,
This is a bit clugie, but it seems to work :) There is probably an API
hidden away some where.
FCtrl: Boolean;
FVKey: Boolean;
...
procedure TForm1.Memo1KeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
begin
= s;
end;
end;
Hope this helps?
Andrew.
- Original Message -
From: "vss" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Thursday, September 06, 2001 3:52 PM
Subject: [DUG]: Trapping ctrl+v
> HI All.
>
&
HI All.
I have a need to trap when someone does a paste into a control, so I can
add some comments above the newly pasted text.
What I am currently doing is if the press ctrl+v I get the line pos where
the text is about to pasted to, then insert some text at that pos-1
This does not quite wor