<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014-11-21 16:01 GMT+01:00 Frederic Da Vitoria <span dir="ltr"><<a href="mailto:davitofrg@gmail.com" target="_blank">davitofrg@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><span class=""><div class="gmail_quote">2014-11-20 19:21 GMT+01:00 Fabio Luis Girardi <span dir="ltr"><<a href="mailto:fluisgirardi@gmail.com" target="_blank">fluisgirardi@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>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. </div><div><br></div><div>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.</div><div><br></div><div>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.</div></div></div></blockquote></div><br></span>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.<span class="HOEnZb"><font color="#888888"><br clear="all"><div></div></font></span></div></div>
</blockquote></div><br></div><div class="gmail_extra">I just checked. Sorry, my memory was wrong, I did use TButtons. But it makes sense that the uppermost control would prevent any deeper control from receiving clicks, even if the uppermost control is visually transparent.<br clear="all"></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature">Frederic Da Vitoria<br>(davitof)<br><br>Membre de l'April - « promouvoir et défendre le logiciel libre » - <a href="http://www.april.org" target="_blank">http://www.april.org</a><br></div>
</div></div>