[Lazarus] Maybe a bug: click on TImage behind another control with SetShape

Frederic Da Vitoria davitofrg at gmail.com
Tue Nov 25 09:28:19 CET 2014


2014-11-22 13:40 GMT+01:00 Fabio Luis Girardi <fluisgirardi at gmail.com>:

> Polyline is a different control. The area of line is the area of the
> control, other area will be full transparent and must pass the events to
> controls behind. If you click on line, the click must be fired on Polyline
> object, otherwise, it must be fired on the first control behind of polyline.
>
> The bug here is: I have two TImages and one polyline. The uppermost is
> TImage is positioned in a removed area (transparent) of polyline and the
> other TImage is the background. When I click on uppermost TImage click
> isn't fired on it nor on background TImage. It's fired on TForm! The same
> behavior happens if polyline is the uppermost control.
>

>From your description, this looks indeed like a bug. Maybe someone else has
ideas about this?

-- 
Frederic Da Vitoria
(davitof)

Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20141125/bde16ca6/attachment-0003.html>


More information about the Lazarus mailing list