2014-11-20 19:21 GMT+01:00 Fabio Luis Girardi <[email protected]>:

> I don't know if this is a bug or not. I created a control from a
> TCustomControl that draws a polyline with a transparent background. The
> transparent effect has been using SetShape procedure using a bitmap of 1
> bit color depth.
>
> The "bug" (I don't know if this is a bug) is that a TImage behind of a
> instance of my polyline control don't receive the click messages, but a
> TButton instance receives.
>
> So, I don't know if this is a bug or I have to do something in my control
> to send these messages to TImage behind.
>

I had once a similar issue with a tPanel behind another control, in Delphi.
IIRC, I indeed had to forward the messages in some way to the tPanel. I can
check in my archives, if you want, but I won't be able to do it before
tomorrow.

-- 
Frederic Da Vitoria
(davitof)

Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to