DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   Watched TopicsWatched Topics     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Event Problem

 
Post new topic   Reply to topic   printer-friendly view    DELPHI AREA Forum Index -> Delphi Programming
View previous topic :: View next topic  
Author Message
asdfghjkl
Member


Joined: 26 Jul 2006
Posts: 2

PostPosted: 10/08/06 11:41    Post subject: Event Problem Reply with quote

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
View user's profile Send private message
Feike
Member


Joined: 02 Aug 2006
Posts: 6
Location: Netherlands

PostPosted: 11/08/06 20:21    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    DELPHI AREA Forum Index -> Delphi Programming All times are GMT
Page 1 of 1

Add to favorites

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group