| View previous topic :: View next topic |
| Author |
Message |
asdfghjkl Member
Joined: 26 Jul 2006 Posts: 2
|
Posted: 10/08/06 11:41 Post subject: Event Problem |
|
|
hello
I have a component that gets a TImage externally
I write event for OnMouseMove for TImage in my component but
when I do this then User OnMouseMove Event not work
I want to work My OnMouseMove Event (in my component) and then User OnMouseMove Event.
How do this?
|
|
| Back to top |
|
 |
Feike Member
Joined: 02 Aug 2006 Posts: 6 Location: Netherlands
|
Posted: 11/08/06 20:21 Post subject: |
|
|
I had a simelar problem and solved it in this way
| Code: |
imageX := TFMImage.Create(self);
With ImageX Do
Begin
Parent := FMPanel1; //Self;
PopupMenu := PopupMenu2;
OnMouseDown := XMouseDown;
OnMouseMove := XMouseMove;
OnMouseUp := XMouseUp;
end; |
Hope it helps
|
|
| Back to top |
|
 |
|