Try Mouse.Cursorpos. That will return the x,y coords of the mouse pointer.
Cheers,
Scott.
-----Original Message-----
From: Chrissy R [mailto:[EMAIL PROTECTED]]
Sent: Sunday, 18 February 2001 20:44
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Mouse Position
Where I want the code does not have to mouse position
but there is a command (property or method) that can
give it to me and that is what I am looking for.
Chrissy.
----- Original Message -----
> Try the OnMouseMove event.
>
> ----- Original Message -----
>
> > How do I get the position of the mouse in a control, a form say?
> > I know I have done the before but cannot remember the command.
> >
---------------------------------------------------------------------------
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"