<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-11-19 4:25 GMT-03:00 Ondrej Pokorny <span dir="ltr"><<a href="mailto:lazarus@kluug.net" target="_blank">lazarus@kluug.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On 19.11.2015 02:40, Anthony Walter wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Juha, wow this is gonna be the gold standard. One BIG problem I noticed right off however. If you put a control on the form, for example a button, you cannot remove it.<br>
<br>
Tested on Gtk2 Linux, Ubuntu with Unity desktop.<br>
</blockquote>
<br></span>
This works correctly on Windows (10), undocked environment.<span class=""><br></span></blockquote><div><br></div><div>There's a difference in design time behavior under gtk2 when compared with windows. Maybe this is your case.<br><br></div><div>Here are my findings, posted sometime ago:<br><br><div class=""><div><div class=""><div dir="ltr"><div><div><div>While trying to fix the bug reported in <a href="http://forum.lazarus.freepascal.org/index.php/topic,28352.0.html" target="_blank">http://forum.lazarus.freepascal.org/index.php/topic,28352.0.html</a><br><br></div>I found that the designer acts different in gtk2 related to Qt and win32<br><br></div>Under
Qt (same environment as the gtk2 build) and Win32 if a put a control,
e.g. TTreeView in the designer, in TDesigner.MouseMoveOnControl the
Sender and DesignSender is always TForm regardless of the mouse being
above the child controls or not. See result of commenting a DebugLn:<br><br>TDesigner.MouseMoveOnControl Sender=Form1:TForm1 Form1:TForm1<br><br></div>Under gtk2 if a put the same control, the Sender and DesignSender will be the TTreeView when mouse is over this child:<br><div><div><br>TDesigner.MouseMoveOnControl Sender=TreeView1:TTreeView TreeView1:TTreeView<br><br></div><div>Any clue why this difference?<br><br></div><div>Is it a bug?<br><br></div><div>BTW: i modified VTV to work but there may be other components affected<br><br></div><div>Luiz<br></div></div></div>
</div></div></div></div></div></div></div>