<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2015-06-14 1:07 GMT+02:00 Juha Manninen <span dir="ltr"><<a href="mailto:juha.manninen62@gmail.com" target="_blank">juha.manninen62@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Balázs,<br>
instead of a hidden Panel could there be a nested PageControl with<br>
tabs at the bottom?<br>
In fact this idea is from Martin, otherwise I got no feedback.<br>
The panel versus PageControl difference is not fundamental which means<br>
the design is basically ok and you have green light to implement it.<br>
The PageControl may be easy to implement and would allow selecting the<br>
source editor / form designer with mouse, and also give visual hint<br>
about such possibility.<br></blockquote><div><br></div><div>Btw. In FreeSparta I already use <span style="font-size:12.8000001907349px">PageControl. To get working plugable </span>PageControl (with pages Code/Desig/Or even History) o<span style="font-size:12.8000001907349px">nly few changes in </span><span style="font-size:12.8000001907349px">sourceeditor.pp is required</span><span style="font-size:12.8000001907349px">:</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">all small changes are marked as simple comment // DaThoX</span><span style="font-size:12.8000001907349px"> </span></div><div><span style="font-size:12.8000001907349px">some bigger changes are marked as </span></div><div><span style="font-size:12.8000001907349px">// DaThoX begin</span></div><div><span style="font-size:12.8000001907349px">   more lines of modified code here</span></div><div><span style="font-size:12.8000001907349px">// DaThoX end</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><a href="https://github.com/dathox/freesparta/blob/master/lazarus_sparta_patch/ide/sourceeditor.pp">https://github.com/dathox/freesparta/blob/master/lazarus_sparta_patch/ide/sourceeditor.pp</a></span><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Maciej,<br>
If I interpret your mails right, it was more about the API and not<br>
about embedding the form designer.<br>
The API can be improved anyway later and we can now go ahead with the<br>
form designer thing. Is this correct?<br></blockquote><div><br></div><div><div>Maybe a little explanation. In FreeSparta you can find:</div><div><br></div><div>1. Non-invasive changes in Lazarus (the smallest).</div><div>2. what is possible, from point 1, it is added to the IdeIntf.</div><div>3. all the magic happens in the package (<a href="https://github.com/dathox/freesparta/tree/master/1_spartaBasic">https://github.com/dathox/freesparta/tree/master/1_spartaBasic</a>). </div><div>    In contrast to Typhon code, the code of "docked forms", can be completely uninstalled as a simple package.</div><div>4. everything is designed for the creation of ToolsAPI.</div></div><div><br></div><div>Few technical details from Typhon should be moved into FreeSparta (holding form position and scrolling) for better multiplatform "Docked Form". CodeTyphon "docked form" solution is copied (modified and fixed) from kzdesktop project...</div><div><br></div><div>btw. I need to exclude dependencies from BGRAControls in few places.</div><div><br></div><div>best regards,</div><div>Maciej Izak</div></div>
</div></div>