{"id":263,"date":"2022-01-07T18:11:57","date_gmt":"2022-01-07T21:11:57","guid":{"rendered":"https:\/\/gladiston.net.br\/?page_id=263"},"modified":"2022-07-13T16:04:57","modified_gmt":"2022-07-13T19:04:57","slug":"docagem-basica","status":"publish","type":"page","link":"https:\/\/gladiston.net.br\/en\/programacao\/lazarus-ide\/docagem-basica\/","title":{"rendered":"Basic docking"},"content":{"rendered":"<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>Lazarus&#039;s default is to have: Component properties editor, code editor and code explorer+components with each of their windows hollowed out, that is, separate from the main IDE and as independent windows. This can be a bit fussy at first, so if you want something more integrated into the IDE we can add the code editor, properties, code explorer+components more integrated into the IDE. It won&#039;t look like Delphi 100% because the form editor will remain separate from the rest, looking like this:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/gladiston.github.io\/hello_lazarus\/assets\/docagem_1.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>Note that the form will still be separated (leaked), therefore different from Delphi.<\/p>\n\n\n\n<p>If you liked the anchor above, then go to Packages-&gt;Install\/Uninstall packages and select the following packages to install:<\/p>\n\n\n\n<p><code>AnchorDocking<br>AnchorDockingDsgn<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/gladiston.github.io\/hello_lazarus\/assets\/docagem_2.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>After adding the indicated packages click on&nbsp;<strong>\u201cSave and rebuild IDE\u201d<\/strong>. When starting the IDE for the second time, the program will already appear with some docks.<\/p>\n\n\n\n<p>We now have a better environment, but note that the form design window is separate from the code editor. There is a controversy here, the way it is is very good for those who have two or more monitors, 4K or Superwide monitors \u2013 in these monitor setups there is plenty of room to accommodate everything. Now, think about those who only have a FullHD monitor and are used to the Delphi-like way where the form editor is exactly where the code editor is and using the F12 key to switch between one and the other. Who has only 1 monitor in FullHD, in my opinion it is better to work with everything docked, but with larger monitors or more than one of them it is very advantageous to have the separate form design.<\/p>\n\n\n\n<p>If you still have doubts, watch the video:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Basic docking - Lazarus\" width=\"580\" height=\"326\" src=\"https:\/\/www.youtube.com\/embed\/khovw0YYG3E?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>","protected":false},"excerpt":{"rendered":"<p>O padr\u00e3o do Lazarus \u00e9 ter: Editor de propriedades de componentes, editor de c\u00f3digo e explorador de c\u00f3digo+componentes com cada uma de suas janelas vazadas, isto \u00e9, separados da IDE principal e como janelas independentes. Isso pode ser um pouco espalhafatoso no in\u00edcio, ent\u00e3o se voc\u00ea quiser algo mais integrado a IDE poderemos juntar o [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":159,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"templates\/template-full-width.php","meta":{"footnotes":""},"class_list":["post-263","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/comments?post=263"}],"version-history":[{"count":3,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/263\/revisions"}],"predecessor-version":[{"id":643,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/263\/revisions\/643"}],"up":[{"embeddable":true,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/159"}],"wp:attachment":[{"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/media?parent=263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}