Recent

Author Topic: ide panes or mdi  (Read 697 times)

SA.Blackmon

  • New Member
  • *
  • Posts: 21
  • Just an old retired guy practicing what he enjoys.
ide panes or mdi
« on: December 23, 2020, 07:47:59 pm »
The more I use Lazarus, the more I like it, however, being almost infinitely configurable makes it a little difficult to master. (Does one ever?)

I need either a paned format for the ide or an mdi format. I found a topic regarding the mdi approach but it was from 2013 and I was unable to find the configuration setting for mentioned in that topic.

The specific issue (for now) is I have written a specialized handler for inifiles inherited from TMemIniFile and in it I have abstracted the section and identifier sections as constant values.

In working with them at the various places in the source files, I need to have the constants visible in order to use them to get initialization information from the ini file.

I don't recall Delphi having the paned feature but the ide tabs can be undocked and that is marginally useable. Visual Studio has a pane'ing feature which would be preferable.

I am sure the Lazarus ide has one or (more likely) both of these available but I have not been able to find them. I really hate to have to run two instances of the ide and that is not a great option.

Any help will be most appreciated.

Sherril
Thank you for your help,
Sherril

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 6906
  • Debugger - SynEdit - and more
    • wiki
Re: ide panes or mdi
« Reply #1 on: December 23, 2020, 07:57:38 pm »
Ok, I can read two questions.

Quote
I need either a paned format for the ide or an mdi format.

AnchorDocking. => Instead of having lots of windows (editor, messages, main menu bar, ...) => all go into one window
Menu: Packages > Install/Uninstall Packages >> Then find AnchorDocking and install it.

Quote
I need to have the constants visible in order to use them
I assume you need to see 2 files at the same time?
Or maybe 2 parts of the same file ?

On top of the editor are the "tabs" (the name of each open file, so you can switch between files).
Right click one of the "tabs" (context menu).
=> "Clone to other Window"
Now you have 2 editor windows, that you can put side-to-side on your screen.
You can drag and drop "tabs" between them.

For the side-by-side you do NOT need Anchordocking.
If you do use Anchordocking, you must either undock one of the windows, or dock them side-by-side.




SA.Blackmon

  • New Member
  • *
  • Posts: 21
  • Just an old retired guy practicing what he enjoys.
Re: ide panes or mdi
« Reply #2 on: December 27, 2020, 07:16:17 pm »
In my mind there was only one question and  you nailed it.

Thank you.
Thank you for your help,
Sherril

alaa123456789

  • Full Member
  • ***
  • Posts: 152
Re: ide panes or mdi
« Reply #3 on: December 31, 2020, 07:59:58 pm »

hi
maybe you can use this way

https://youtu.be/1q8G8L4uABQ

thanks

SA.Blackmon

  • New Member
  • *
  • Posts: 21
  • Just an old retired guy practicing what he enjoys.
Re: ide panes or mdi
« Reply #4 on: January 02, 2021, 12:50:09 am »
alaa123456789, thank you for your reply. However, my question was about use of the Lazarus IDE. It was not a programming issue.
Thank you for your help,
Sherril

 

TinyPortal © 2005-2018