Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic MouseMove Event handling Error (Read 1831 times)
parkwonwoo
Junior Member
**
Offline


Open the Podbay Doors
HAL!

Posts: 61
Joined: Dec 8th, 2006
MouseMove Event handling Error
Dec 8th, 2006 at 8:47am
Print Post  
Hi, All.

- Purpose: runtime mouse position display.
- my code here:
Code
Select All
procedure TForm1.FC1MouseMove(ASender: TObject; docX, docY: Integer);
begin

    Label1.Caption :='XPos='+IntToStr(docX);

end;
 


- My Problem is no display of position data.

what's wrong with me?

Thanks in advance.
  

OS: WinXP sp2&&RAD: Borland Delphi7, C++Builder6, JBuilder9&&FrameWork: VCL+Win32 or J2SE&&FCX: FCX 4.1.x
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: MouseMove Event handling Error
Reply #1 - Dec 8th, 2006 at 8:54am
Print Post  
Hi,

By default the control does not fire the MouseMove event for some reason. You will need to enable the FireMouseMove property to get the event fired.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint