Recent

Author Topic: <SOLVED>Docking windows in Lazarus?  (Read 24730 times)

undermanager

  • Jr. Member
  • **
  • Posts: 58
<SOLVED>Docking windows in Lazarus?
« on: August 13, 2012, 03:59:16 pm »
Am I right in thinking that it is still not possible to dock different Lazarus Windows together? If it is, how, please?
« Last Edit: August 13, 2012, 09:36:22 pm by undermanager »

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Docking windows in Lazarus?
« Reply #1 on: August 13, 2012, 04:15:03 pm »
What do you get by searching the forum or searching your lazarus folder for "dock"?

snorkel

  • Hero Member
  • *****
  • Posts: 817
Re: Docking windows in Lazarus?
« Reply #2 on: August 13, 2012, 05:06:42 pm »
Yes, you can do that now.
Just compile the Anchor Docking package that is included and when the IDE starts
it will all be docked.  Works great.
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 3.0RC2 and FPC 3.2.2
OS: Windows 10 64 bit

undermanager

  • Jr. Member
  • **
  • Posts: 58
Re: Docking windows in Lazarus?
« Reply #3 on: August 13, 2012, 07:43:54 pm »
Yes, you can do that now.
Just compile the Anchor Docking package that is included and when the IDE starts
it will all be docked.  Works great.

Thanks for the reply. I have installed AnchorDocking 0.6, recompiled the IDE, closed and opened Lazarus. The toolbar, source code editor, object inspector and messages windows are all still undocked. I can't spot anything obvious to make them dock. Any ideas, please?

Avishai

  • Hero Member
  • *****
  • Posts: 1021
Re: Docking windows in Lazarus?
« Reply #4 on: August 13, 2012, 08:15:26 pm »
You need to install the package '..\lazarus\components\anchordocking\design\anchordockingdsgn.lpk'

I'm not too sure you will like it.
Lazarus Trunk / fpc 2.6.2 / Win32

undermanager

  • Jr. Member
  • **
  • Posts: 58
Re: Docking windows in Lazarus?
« Reply #5 on: August 13, 2012, 08:37:47 pm »
A hah! Okay, done that and the windows are docking. Thank you. That was helpful.

One thing though - the Messages Window doesn't want to appear when you go to View Messages? No more syntax error messages or telling me that my program has been successfully built.

Is that what you meant by me not liking docking?

Any ideas to get the Messages window opening, please?

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Docking windows in Lazarus?
« Reply #6 on: August 13, 2012, 08:40:49 pm »
try using the windows menu and see if the messages is there if it is then it is probably outside your desktop or something along those lines.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

Avishai

  • Hero Member
  • *****
  • Posts: 1021
Re: Docking windows in Lazarus?
« Reply #7 on: August 13, 2012, 08:43:53 pm »
The Messages Window appeared for me automatically so I have no ideas.  But the problem I have with it is that the IDE comes to the Front any time I touch it and I can't see the Forms that I am trying  to work on.  So I think I did all I need on a Control and switch to the Form and see all the things I missed.  So back to the IDE, and no visible Forms :(
Lazarus Trunk / fpc 2.6.2 / Win32

undermanager

  • Jr. Member
  • **
  • Posts: 58
Re: Docking windows in Lazarus?
« Reply #8 on: August 13, 2012, 09:02:10 pm »
Thanks for the reply.

When I go to View Messages, or Window Messages, the Messages window doesn't appear. When I compile / run code,  I don't get the Messages window up, telling me what errors I have or if the code was successfully compiled.

Mmmmm. May have to abandon docking for the moment, unless anyone else has any ideas?



Windows 7, Version 0.9.30.4, x86_64-win64-win32/win64, FPC 2.6.0

undermanager

  • Jr. Member
  • **
  • Posts: 58
Re: Docking windows in Lazarus?
« Reply #9 on: August 13, 2012, 09:36:01 pm »
Just stumbled across the answer by accident - all you do is click on the bar to the right of where it says 'Source editor'. Then the source editor splits into two with the Messages Window underneath!!

Amazing. Who would have guessed that that is what you do from the documentation!

Avishai

  • Hero Member
  • *****
  • Posts: 1021
Re: Docking windows in Lazarus?
« Reply #10 on: August 13, 2012, 09:36:40 pm »
I already dumped it  :D  It's a shame though.  The idea is good but there needs to be a fix and I'm not the one that can do it.  I saw a suggestion about adding a Tab that would display the Form and at first I thought it was a good idea.  But unless it displayed the only the Form of the Active Unit (How do you know which one is Active?), you might have too many tabs to deal with.  It's a complex issue, so for now I'm back to UnDocked IDE.
Lazarus Trunk / fpc 2.6.2 / Win32

Avishai

  • Hero Member
  • *****
  • Posts: 1021
Re: <SOLVED>Docking windows in Lazarus?
« Reply #11 on: August 13, 2012, 09:44:10 pm »
Let me know how that works out.  I like the idea, I just couldn't make it work for me.
Lazarus Trunk / fpc 2.6.2 / Win32

snorkel

  • Hero Member
  • *****
  • Posts: 817
Re: Docking windows in Lazarus?
« Reply #12 on: August 14, 2012, 09:27:42 pm »
The Messages Window appeared for me automatically so I have no ideas.  But the problem I have with it is that the IDE comes to the Front any time I touch it and I can't see the Forms that I am trying  to work on.  So I think I did all I need on a Control and switch to the Form and see all the things I missed.  So back to the IDE, and no visible Forms :(

Can't you just hit F12?  That's what I do.  Form comes right to the top.
If you have more than one monitor you can also put your forms on the second monitor.
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 3.0RC2 and FPC 3.2.2
OS: Windows 10 64 bit

Avishai

  • Hero Member
  • *****
  • Posts: 1021
Re: <SOLVED>Docking windows in Lazarus?
« Reply #13 on: August 14, 2012, 10:00:12 pm »
Yes, I used F12.  But as soon as I would touch anything in the IDE (like the property editor) the form would be covered again.  And building RightToLeft Forms is much more involved than LeftToRight, so I need the visual feedback.  It shouldn't be but it is, at least for now.  And I don't have a second monitor.

In the standard Lazarus setup, I can have the Form/Forms visible while I work in the property editor or anything else.  It's only when I switch to the code editor that the Forms are covered.
Lazarus Trunk / fpc 2.6.2 / Win32

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: <SOLVED>Docking windows in Lazarus?
« Reply #14 on: August 14, 2012, 10:20:13 pm »
Yes, I used F12.  But as soon as I would touch anything in the IDE (like the property editor) the form would be covered again.  And building RightToLeft Forms is much more involved than LeftToRight, so I need the visual feedback.  It shouldn't be but it is, at least for now.  And I don't have a second monitor.

In the standard Lazarus setup, I can have the Form/Forms visible while I work in the property editor or anything else.  It's only when I switch to the code editor that the Forms are covered.

You do know that you can have the object inspector and any other window you want undocked from the editor right?
a full docked environment is not my cup of tea either and the docking that I have seen so far is at least awful with the double window bar  and all the space you loose from it its a no go for me but what you describe can be easily changed.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

 

TinyPortal © 2005-2018