1. Computing

Where is the Mouse? Is it Over Some TControl Descendant?

By February 24, 2012

Follow me on:

in Delphi TIPS :: Sometimes knowing what is the control directly under the mouse is not enough.

Suppose the following: there's a panel ("ppanel") and a panel ("cpanel") inside it as a child, there's also a TImage ("img") inside the "cpanel". The question is: "is the mouse over "ppanel"?

The question is: is the mouse over some TControl descendant that might be completly covered by its child controls?.

Read the full article to learn how to Check Is Mouse Over Some TControl?


Comments are closed for this post.
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2014 About.com. All rights reserved.