ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 MouseCapture

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
bmesser Posted - Nov 18 2025 : 08:40:14
Hi

I've been using MouseCapture when using Slippy maps in the OnMouseMove event for years, but because I copied it from an example, I've never understood exactly what for except that it returns a boolean.

Can you explain why I should use it and what it does?

I can't find any reference to it in the online help.

Bruce.
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Nov 18 2025 : 19:39:26
Hi Bruce

MouseCapture is a VCL/TControl property that indicates whether a control is currently capturing all mouse events, even those that occur outside its normal boundaries.

https://docwiki.embarcadero.com/Libraries/Florence/en/Vcl.Controls.TControl.MouseCapture

Nigel
Xequte Software
www.imageen.com