William Oliveira Ferreira schrieb:
Sorry DoDi, i wrote without "re-read" the package name, i was using easydockmgrdsgn.

I've just uploaded another DockableIDE.patch (Mantis 19308), that makes the EasyDockMgrDsgn work in the trunk. The undocked IDE should not be affected by these changes (tested on Win32). Please try and report eventual problems.

The following (optional) extensions are added by this patch:

TControl.ShowEx is a configurable version (replacement) for Show. It's fully recursive, allowing to make all parents visible, and the top level form can be made topmost, restored (from minimized), and moved into screen or monitor bounds - everything configurable separately. It modifies ShowControl, in a way that doesn't affect normal operation nor overridden methods in derived classes. More options can be added on demand :-)

TScreen has added BoundsRect and methods to fit a BoundsRect entirely into screen or monitor bounds.


As mentioned in the patch notes, a couple of minor issues remain to be fixed or specified. The DockMaster interface (base class) IMO contains too many methods, which are not used by the IDE. In contrast FormShow is used (conditionally) *instead* of the Creator/Layout standard processing, what IMO only results in dangerous duplicate code in all derived dockmasters. That's why I moved the DockMaster.ShowForm call to the end of ShowForm, after all default processing has occured. This may affect (simplify?) other dockmasters as well.

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to