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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 MouseCapture
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

bmesser

United Kingdom
250 Posts

Posted - Nov 18 2025 :  08:40:14  Show Profile  Reply
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.

xequte

39255 Posts

Posted - Nov 18 2025 :  19:39:26  Show Profile  Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: