[Lazarus] Need help to get IDE forms object
Martin
lazarus at mfriebe.de
Sun Jul 22 23:57:44 CEST 2012
On 22/07/2012 22:50, Mattias Gaertner wrote:
> On Fri, 20 Jul 2012 10:30:38 -0700 (PDT)
> leledumbo <leledumbo_cool at yahoo.co.id> wrote:
>
>> I need to get the object (TCustomForm) of IDE forms, namely object inspector,
>> code explorer and source notebook. I need this to help a docking solution
>> (kzdesktop:
> Either implement an IDEDockMaster, see for example anchordockingdsgn
> package.
>
> Or do it manually:
> Connect the event LazarusIDE.AddHandlerOnIDERestoreWindows.
> In this event create the forms you need at start up:
>
Note, that never mind how you get it. The SourceEditorWindow that you
got, can get destroyed during the IDE' s lifetime.
Once a 2nd SourceEditor is opened, and all the tabs in the 1st are
closed, then it will be destroyed
More information about the Lazarus
mailing list