OK... Whats 'kbd_event'? I can't find any reference to it.
Dave.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 13 May 1999 22:36
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Ctrl+Home WM_KEYDOWN Message


As suggested, you can use SelStart and SelEnd etc... However, for 
future, you might want to note kbd_event - it generates key messages.

On 11 May 99 at 18:58, Kevin Wong wrote:

> Hi All,
> 
> Can anyone tell me how can I set a WM_KEYDOWN Windows message to the
same
> as the user pressing a combination of [Ctrl + Home] under Delphi?
> 
> I populate a TMemo control with text and I want it to scroll back to
the
> first line after the operation.  I can't find any method that I can
use
> other than sending a WM_KEYDOWN Message to the control with the key
strokes
> mentioned.
> 
> Any help appreciated.
> 
> Thanks,
> Kevin.
> 
> 
>
------------------------------------------------------------------------
---
>     New Zealand Delphi Users group - Delphi List -
[EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> 
Rohit

======================================================================
CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
PH    (649) 489-2280 
FX    (649) 489-2290
email [EMAIL PROTECTED]  or  [EMAIL PROTECTED]
======================================================================

------------------------------------------------------------------------
---
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to