[Lazarus] Docked Form

Maciej Izak hnb.code at gmail.com
Sun Jun 14 02:54:18 CEST 2015


2015-06-14 1:07 GMT+02:00 Juha Manninen <juha.manninen62 at gmail.com>:

> Balázs,
> instead of a hidden Panel could there be a nested PageControl with
> tabs at the bottom?
> In fact this idea is from Martin, otherwise I got no feedback.
> The panel versus PageControl difference is not fundamental which means
> the design is basically ok and you have green light to implement it.
> The PageControl may be easy to implement and would allow selecting the
> source editor / form designer with mouse, and also give visual hint
> about such possibility.
>

Btw. In FreeSparta I already use PageControl. To get working plugable
PageControl
(with pages Code/Desig/Or even History) only few changes in sourceeditor.pp
is required:

all small changes are marked as simple comment // DaThoX
some bigger changes are marked as
// DaThoX begin
   more lines of modified code here
// DaThoX end

https://github.com/dathox/freesparta/blob/master/lazarus_sparta_patch/ide/sourceeditor.pp

Maciej,
> If I interpret your mails right, it was more about the API and not
> about embedding the form designer.
> The API can be improved anyway later and we can now go ahead with the
> form designer thing. Is this correct?
>

Maybe a little explanation. In FreeSparta you can find:

1. Non-invasive changes in Lazarus (the smallest).
2. what is possible, from point 1, it is added to the IdeIntf.
3. all the magic happens in the package (
https://github.com/dathox/freesparta/tree/master/1_spartaBasic).
    In contrast to Typhon code, the code of "docked forms", can be
completely uninstalled as a simple package.
4. everything is designed for the creation of ToolsAPI.

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...

btw. I need to exclude dependencies from BGRAControls in few places.

best regards,
Maciej Izak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150614/3d144aeb/attachment-0003.html>


More information about the Lazarus mailing list