Single windows for Lazarus (package: anchordockingdsgn?) lazarus / 11-Options ---------------------------------------------------------------------- OdysseusL · 2023-06-11 14:59 Hello, I search for an option to change the IDE to a single window mode. I found a website that i have to use the package "anchordockingdsgn" for Lazarus. But this package is not listed in the "package manager". Do I miss something? Thanks in advance. ---------------------------------------------------------------------- Handoko · 2023-06-11 15:07 Hello OdysseusL, Welcome to the forum. Do this: Lazarus main menu > Package > Install/Uninstall Packages > right panel: anchordockingdsgn 1.0 > Install Selection > Save and rebuild IDE ---------------------------------------------------------------------- Martin_fr · 2023-06-11 15:22 And also via the same dialog install the package "DockedFormEditor" Do not install any package with "Sparta" in the name. ---------------------------------------------------------------------- OdysseusL · 2023-06-11 16:09 Thank you very much. Why the second package "DockedFormEditor"? What happens, if I don't install it? ---------------------------------------------------------------------- Handoko · 2023-06-11 16:47 I do not use anchor/docking layout, not much I can comment. But here: https://wiki.freepascal.org/DockedFormEditor ---------------------------------------------------------------------- dsiders · 2023-06-11 16:54 Quote from: OdysseusL on June 11, 2023, 06:09:01 pmThank you very much. Why the second package "DockedFormEditor"? What happens, if I don't install it? It allows the form editor/designer to be docked in the IDE too. Otherwise, it is still a floating window. Here it is installed: ---------------------------------------------------------------------- OdysseusL · 2023-06-11 17:31 Again thank you very much for your (extremely quick) help! It strengthening my decision to change back from C++ to Pascal (my first programming language I learned (UCSD Pascal on Apple II)). ---------------------------------------------------------------------- Handoko · 2023-06-11 18:40 Can you share your story why you decided to use C++ and why you want to change back to Pascal? I am a hobbyist programmer, I learn and write program in my leisure time. Graphics and game programming are my main interests. Most of the tutorials and source codes I found, are written for C/C++. So, if I have time I would learn C/C++. It would be nice to hear your experience as a C++ and Pascal user. ---------------------------------------------------------------------- tearsfornations · 2023-06-11 20:23 Quote from: Handoko on June 11, 2023, 05:07:54 pmHello OdysseusL, Welcome to the forum. Do this: Lazarus main menu > Package > Install/Uninstall Packages > right panel: anchordockingdsgn 1.0 > Install Selection > Save and rebuild IDE Hi, I am trying to achieve this one form window as well, I am on MacOS and I installed the anchordockingdsgn 1.0 and also the DockedFormEditor but my lazarus looks the same? Is there something I need to do to enable it? Thanks! ---------------------------------------------------------------------- ccrause · 2023-06-12 07:04 Quote from: tearsfornations on June 11, 2023, 10:23:52 pmQuote from: Handoko on June 11, 2023, 05:07:54 pmHello OdysseusL, Welcome to the forum. Do this: Lazarus main menu > Package > Install/Uninstall Packages > right panel: anchordockingdsgn 1.0 > Install Selection > Save and rebuild IDE Hi, I am trying to achieve this one form window as well, I am on MacOS and I installed the anchordockingdsgn 1.0 and also the DockedFormEditor but my lazarus looks the same? Is there something I need to do to enable it? Thanks! Did Lazarus recompile without errors after the Install Selection > Save and rebuild IDE step? ---------------------------------------------------------------------- tearsfornations · 2023-06-12 08:20 Ok, I got it, but now the forms are not showing up right. There is like a big space at the top. My one has a string grid and that's it with 4 columns. ---------------------------------------------------------------------- OdysseusL · 2023-06-12 10:13 Hello @Handoko, Quote from: Handoko on June 11, 2023, 08:40:05 pmCan you share your story why you decided to use C++ and why you want to change back to Pascal? It is a very short story (sorry, it is not a real topic of this thread): My very first programming language was "Simon's Basic" with Commodore 64. My first programming language (at school) was UCSD Pascal on Apple II. Later, during my "academic career" I startet with FORTRAN, C, and finally C++. With C++ I startet my first GUI applications using Qt (this is more than two decades ago). In the company I work now for more than 25 years, I have to program in C++ and Java (and ObjectREXX). Since 15 years (project manager, it manager, ...) I have stopped programming. In the last two weeks I "restartet" with programming in C++ (hobbyist programmer). Everything works fine until I wanted to use a GUI. My first (new) steps with Qt and the subsequent legacy of C++ (you have to take care of everything, due to the history C/C++) breaks my will to continue with C++. So I decided to meet my roots and start with (Object)Pascal and their TForms. ---------------------------------------------------------------------- Handoko · 2023-06-13 17:02 So the reason you choose Lazarus because you need a tool to work with GUI easily. Yes, Lazarus is a rapid application development tool. You can build native looking GUI software in relatively short time, Lazarus has plenty ready to use visual components. If you're new in Lazarus/Pascal, you may want to try the demos that come with your Lazarus default installation: Lazarus main menu > Tools > Example Projects Also you can download and try short demos from: https://wiki.freepascal.org/Portal:HowTo_Demos And this link may be useful for you: https://wiki.freepascal.org/Lazarus_Documentation ---------------------------------------------------------------------- OdysseusL · 2023-06-13 17:37 Thank you very much!