Setting IDE same to RAD Studio IDE lazarus / 9-Editor ---------------------------------------------------------------------- systemgvp · 2019-05-27 21:52 How can I set Lazarus IDE same RAD Studio (Delphi) IDE? Without free windows. ---------------------------------------------------------------------- Zoran · 2019-05-27 22:08 Quote from: systemgvp on May 27, 2019, 11:52:45 pmHow can I set Lazarus IDE same RAD Studio (Delphi) IDE? Buy Delphi. Quote from: systemgvp on May 27, 2019, 11:52:45 pmWithout free windows. No window, or anything else in the IDE will be free. Oh, sorry... I couldn't resist... You can try Anchor Docking. You may also try searching the forum, you are not the first to ask the same... I never understood why many people prefer docked IDE windows. ---------------------------------------------------------------------- K155LA3 · 2019-05-27 22:45 Quote from: systemgvp on May 27, 2019, 11:52:45 pmHow can I set Lazarus IDE same RAD Studio (Delphi) IDE? Without free windows. Install two package (Package -> Install/Uninstall packages) "AnchorDockingDsgn" and "Sparta_DockedFormEditor" for single window IDE with form designer similar as RAD Studio. ---------------------------------------------------------------------- systemgvp · 2019-05-28 07:18 Thanks "K155LA3", I was looking for just that. QuoteBuy Delphi. You may also try searching the forum, you are not the first to ask the same... I never understood why many people prefer docked IDE windows. Zoran, I've also RAD Studio Delphi 10.3.1 but He don't compile GUI Linux Application, only Server Linux (There is an FMX Linux extension but it costs a lot). ---------------------------------------------------------------------- avra · 2019-05-28 07:41 Quote from: K155LA3 on May 28, 2019, 12:45:20 amInstall two package (Package -> Install/Uninstall packages) "AnchorDockingDsgn" and "Sparta_DockedFormEditor" for single window IDE with form designer similar as RAD Studio.Then load some of these desktops to mimic Delphi like IDE settings: https://github.com/FlKo/LazarusDockedDesktops ---------------------------------------------------------------------- Zoran · 2019-05-28 09:35 Quote from: systemgvp on May 28, 2019, 09:18:47 amThanks "K155LA3", I was looking for just that. QuoteBuy Delphi. You may also try searching the forum, you are not the first to ask the same... I never understood why many people prefer docked IDE windows. Zoran, I've also RAD Studio Delphi 10.3.1 but He don't compile GUI Linux Application, only Server Linux (There is an FMX Linux extension but it costs a lot). I know, sorry again. Of course I wasn't serious, then I gave the useful answer in my post, didn't I? ---------------------------------------------------------------------- systemgvp · 2019-06-04 08:20 Thanks Zoran but I've see the rapid istructions by K155LA3 user. ---------------------------------------------------------------------- systemgvp · 2019-06-04 08:32 Last question. This is Delphi and Lazarus IDE layouts, but How can I set the same right tabs? ---------------------------------------------------------------------- K155LA3 · 2019-06-24 19:36 1. Drag and drop "Components" tab to the float window (pict. 1). 2. Drag and drop "Components" window to the blue area (pict. 2). And you get the location of the "Component" area as in Delphi (pict. 3). ---------------------------------------------------------------------- PascalDragon · 2019-07-02 07:17 Quote from: Zoran on May 28, 2019, 12:08:47 amYou may also try searching the forum, you are not the first to ask the same... I never understood why many people prefer docked IDE windows. I much prefer if I have to deal with fewer windows when switching between them. I usually have enough open already so I don't need to deal with each single one (this is most noticeable on Linux). ---------------------------------------------------------------------- BeanzMaster · 2019-07-02 15:59 Hi you can follow my tutorial in french here https://jerome- delauney.developpez.com/tutoriels/lazarus/configurer-et-personnaliser- edi-lazarus/ Note : On left you can translate the page with microsoft translator ---------------------------------------------------------------------- Akira1364 · 2019-07-02 20:01 With the amount this question gets asked by newcomers to Lazarus, I think it's about time AnchorDocking + Sparta Docked Form Edit is made the default... (especially considering it's been the default window setup in Delphi for over a decade.) At the very least, it needs to be made much more obvious / advertised somehow exactly which packages need to be installed, and that those packages do come bundled with Lazarus. ---------------------------------------------------------------------- wp · 2019-07-02 20:35 Quote from: Akira1364 on July 02, 2019, 10:01:52 pmWith the amount this question gets asked by newcomers to Lazarus, I think it's about time AnchorDocking + Sparta Docked Form Edit is made the default... (especially considering it's been the default window setup in Delphi for over a decade.) Maybe I do not know how to do that, but unless all non-modal IDE windows can be docked the docked IDE is not complete and very annoying. Open the anchor editor, menu editor or a package editor. Initially they are at the top, fine. But these editors require permanent switching back to the IDE. On a system with full-screen docked IDE (small notebook monitor), they disappear from the screen when the IDE is focused, and it requires several clicks to bring them back to the front. In the undocked IDE, on the other hand, the windows can always be arranged with little gaps so that the covered anchor/menu/package editor peeks through. ---------------------------------------------------------------------- Martin_fr · 2019-07-02 21:25 I guess it might be a chicken and egg issue... Most if not all team members afaik prefer individual windows. (I may be wrong, but that is the impression I get). So for it to improve, it relies on users to use it, test it, and report issues. If of course the avg user is unaware of its existence, then the above is never happening. IHMO adding it to default (bigide) is not an issue, because all it changes is to show the "dock handles". Nothing is docked to begin with, but it should be easy to see how to dock stuff. Showing the dock handles can be switched off in options, and it is easy enough to uninstall for all those who do not want it. My 2 cents... ---------------------------------------------------------------------- lucamar · 2019-07-02 22:39 This is all a question of personal preferencies. I like better the "standard" separate windows even though, as PascalDragon said, you can end up with a dozen windows on your taskbar in Linux. I find easier (for me) to just alt-Tab between them and close/open those I want or not. One (minor) problem I see is that the "hub" for my way of working is mostly the editor, but Lazarus' "hub" is its "main window" with the menu, the component palette, etc. It wouldn't matter much if, like in Delphi, you could for example access the main menu from the editor, and so on. Unfortunately you can't: you must swicth first to the "main" window. Another pet peeve of mine is that in each new version there seems to be less and less "helping" for "keyboard-mostly" folks: menu items, buttons, etc. without accelerators, common key alternatives not working, etc. No "show-stopper" realy, but kind of annoying. Well ... nothing is perfect ---------------------------------------------------------------------- Akira1364 · 2019-07-03 00:06 Quote from: wp on July 02, 2019, 10:35:31 pmMaybe I do not know how to do that, but unless all non-modal IDE windows can be docked the docked IDE is not complete and very annoying. They can. See the screenshot I've attached for an example. ---------------------------------------------------------------------- Martin_fr · 2019-07-03 00:29 Quote from: lucamar on July 03, 2019, 12:39:34 amIt wouldn't matter much if, like in Delphi, you could for example access the main menu from the editor, and so on. Unfortunately you can't: you must swicth first to the "main" window. On Windows that works without any issue. QuoteAnother pet peeve of mine is that in each new version there seems to be less and less "helping" for "keyboard-mostly" folks: menu items, buttons, etc. without accelerators, common key alternatives not working, etc. No "show-stopper" realy, but kind of annoying. I work mostly keyboard myself. I even have key shortcuts to switch between several source editors. Are this old shortcuts, that are missing now (regression)? Or new feature with none added? Which ones? Should be able to add them via the options? Or are the entries also missing from the Keymap options? ---------------------------------------------------------------------- skalogryz · 2019-07-03 00:35 Quote from: lucamar on July 03, 2019, 12:39:34 am... as PascalDragon said, you can end up with a dozen windows on your taskbar in Linux. I find easier (for me) to just alt-Tab between them and close/open those I want or not. Tools -> Options -> Window -> Show single button in Taskbar. (The option is only available for Linux platform) I can also agree with Martin_fr. User interface issues has to be vetted carefully. Don't hesitate to bug report (requests for) UI improvement. It's much easier to fix it once, than to keep enduring the problem. ---------------------------------------------------------------------- Zoran · 2019-07-03 07:40 Quote from: skalogryz on July 03, 2019, 02:35:21 amQuote from: lucamar on July 03, 2019, 12:39:34 am... as PascalDragon said, you can end up with a dozen windows on your taskbar in Linux. I find easier (for me) to just alt-Tab between them and close/open those I want or not. Tools -> Options -> Window -> Show single button in Taskbar. (The option is only available for Linux platform) This setting is ignored in some desktop managers. In Cinnamon I had this problem. Now I have Mint Xfce and this feature work well. Yes, it is a real nightmare when each window has it's own taskbar button. Then it becomes total chaos when you open two Lazarus instances. However, I really prefer old Delphi user interface, so I rather switched to another distro, then install docking in the IDE. ---------------------------------------------------------------------- kupferstecher · 2019-07-03 09:53 When I first came to Lazarus I was quite shocked of the floating windows. By time I saw the benefits compared to a strict one-window- layout and I now highly prefer the floating windows. But still the windows hiding each other often is a mess. The alignment is difficult (additional efforts) and large window borders take precious space. There should be a better solution I thought, and came to a one as sketched in the attachement, a mixture of floating and fixed concepts. The cyan line shows the application window, this means there would be a free space on the right side, where the floating Forms and menues can be reached. I'm not sure if such window contours are possible on all platforms... The application window would consist of the menu, the source editor, object inspector (and tabbed some other important tools) and message box. All other menues and forms would open in a seperate window as now. When they lose focus, a part of them still could be visible in the "cut-out" right area and thus easily clicked to bring back to front. The source editor could be configured to dynamically overlay the menu and message box (focus controlled) so there is maximum space for the source code, like it is possible in the floating design. Just a crazy idea that I wanted to share~ ---------------------------------------------------------------------- devEric69 · 2019-07-03 10:17 QuoteTools -> Options -> Window -> Show single button in Taskbar. (The option is only available for Linux platform) Thank you: it works under Ubuntu. On the other hand, I set up Nemo (the Cinnamon office), because Nautilus is too limited in terms of functionality. ---------------------------------------------------------------------- wp · 2019-07-03 12:12 Quote from: Akira1364 on July 03, 2019, 02:06:58 amQuote from: wp on July 02, 2019, 10:35:31 pmMaybe I do not know how to do that, but unless all non-modal IDE windows can be docked the docked IDE is not complete and very annoying. They can. Found the "Locked" checkbox in the context menu of the grab bars which, after unchecking, allows me to drag and redock the windows. Great! But still there are windows which do not seem to be prepared for docking at all: menu editor, leak & traces, editor macros, and maybe some more - they do not have grab bars. And the size of the anchor editor does not fit into the docked layout nicely. If it were very wide it could be docked to the bottom messages window and related, if it were very high it could be docked to project editor etc at the the right. But its aspect ratio is roughly 4:3 and thus it can only be docked usefully to the center source editor/form designer window, but now direct interaction between form designer and menu editor is no longer possible. (The way it is docked in reply #15 costs too much space on small notebook screens). ---------------------------------------------------------------------- Akira1364 · 2019-07-03 13:54 Quote from: wp on July 03, 2019, 02:12:31 pmFound the "Locked" checkbox in the context menu of the grab bars which, after unchecking, allows me to drag and redock the windows. Great! But still there are windows which do not seem to be prepared for docking at all: menu editor, leak & traces, editor macros, and maybe some more Do you have a screenshot that shows some / all of this as it looks on your system? Just trying to get a better idea. I have never once had to use the grab bar menus... Also, do you have both Anchor Docking Design and Sparta Docked Form Editor installed? ---------------------------------------------------------------------- wp · 2019-07-03 14:34 Here is a screen shot. It is on Linux Mint 18.1 Serena/xfce, Lazarus is trunk with qt widgetset. I opened the menu editor, it does not show the grab bar and thus cannot be docked. The window is not completely maximized to leave a narrow stripe uncovered. This is to where I drag covered undocked windows for quick access. And yes: both anchor docking design and sparta docked form editor packages are installed. ---------------------------------------------------------------------- Akira1364 · 2019-07-03 15:23 Quote from: wp on July 03, 2019, 04:34:21 pmHere is a screen shot. It is on Linux Mint 18.1 Serena/xfce, Lazarus is trunk with qt widgetset. I opened the menu editor, it does not show the grab bar and thus cannot be docked. Strange! It does not seem like there is any specific reason the menu editor should be undockable versus any of the other IDE forms. I haven't tested docking the menu editor on Windows, but will later today, as that will make it clearer whether it's a widgetset bug, or a bug in the docking packages, or maybe just something different about the settings for the menu editor LFM.