Re: Strange behaviour in mouse up
- From: Bjorge Sæther <bjorge@xxxxxxxx>
- Date: Thu, 26 Jan 2006 13:50:08 +0100
pri_sama wrote:
Hello !
I have added a line to invoke 'notepad.exe' ( using shell execute )in mouse down event of a TShape component. When I press left mouse button, even if I don't release mouse button, mouse up event is fired. Can you please explain this behaviour ? ( Delphi 5 )
....like you shift focus to another control in code ?
When having problems like this, try to reproduce the problem with the smallest amount of code neede to still see the problem. It will be much easier e.g. for us to read at a later point. And you will more likely find the problem.
A concrete suggestion: Create a new project, put a TShape on a form, and fill in an OnMouseUp handler that e.g. writes the Form.Caption. Is the very same thing happening then ?
Bjorge .
- References:
- Strange behaviour in mouse up
- From: pri_sama
- Strange behaviour in mouse up
- Prev by Date: Re: Recommendations for a text to speech component?
- Next by Date: fix for blinking data-aware controls?
- Previous by thread: Strange behaviour in mouse up
- Next by thread: Re: Strange behaviour in mouse up
- Index(es):