{"id":307,"date":"2022-01-07T18:17:30","date_gmt":"2022-01-07T21:17:30","guid":{"rendered":"https:\/\/gladiston.net.br\/?page_id=307"},"modified":"2023-03-22T14:10:13","modified_gmt":"2023-03-22T17:10:13","slug":"introducao-e-instalacao-de-pacotes-basicos","status":"publish","type":"page","link":"https:\/\/gladiston.net.br\/en\/programacao\/lazarus-ide\/introducao-e-instalacao-de-pacotes-basicos\/","title":{"rendered":"Introduction and installation of basic packages"},"content":{"rendered":"<p>Os pacotes estendem as funcionalidades da IDE e a programa\u00e7\u00e3o, eles podem conter classes de objetos e\/ou componentes visuais\/n\u00e3o visuais. O Lazarus vem com muitos deles, mas boa parte n\u00e3o est\u00e1 instalada, s\u00e3o complementos adicionais que voc\u00ea decide instalar ou n\u00e3o p\u00f3s-instala\u00e7\u00e3o. \u00c9 uma boa recomenda\u00e7\u00e3o instalar apenas os pacotes que precisa ter como base para os projetos, evite adicionar o que n\u00e3o precisa ou nem sabe para que serve.<\/p>\n\n\n\n<p>Voc\u00ea ir\u00e1 em <strong>Package|Install\/Uninstall Packages<\/strong>, ali ver\u00e1 uma lista de v\u00e1rios pacotes que acompanham o Lazarus, aqueles que tem como prefixo as letras &#8220;fp&#8221; pertencem a biblioteca do FreePascal e a manuten\u00e7\u00e3o deles costuma vir com o compilador e n\u00e3o depende necessariamente do time do Lazarus para dar suporte. Pacotes com o prefixo &#8220;laz&#8221; costumam ser dependentes da IDE\/Lazarus. Veja a lista:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"604\" height=\"477\" src=\"https:\/\/gladiston.net.br\/wp-content\/uploads\/2023\/03\/image.png\" alt=\"\" class=\"wp-image-2172\" srcset=\"https:\/\/gladiston.net.br\/wp-content\/uploads\/2023\/03\/image.png 604w, https:\/\/gladiston.net.br\/wp-content\/uploads\/2023\/03\/image-300x237.png 300w, https:\/\/gladiston.net.br\/wp-content\/uploads\/2023\/03\/image-15x12.png 15w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/figure>\n\n\n\n<p>Below I show the list of basic add-ons that I usually install:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>imagesforlazarus<\/strong>: Allows the Lazarus IDE to handle various image formats and even incorporate it into its components like TIamge if it supports them. In addition, it creates classes to deal with these same formats called: TPNGImage, TPNMImage, TJPGImage, TBMPImage, TTGAImag and, TXPMImage. Read the README.TXT in the \\components\\images folder to learn more.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>lazdbexport<\/strong>: I haven&#039;t tested it yet, but it gives some components(TDataset) the possibility to export their data to some external formats like csv.dbf,rtf,\u2026 <a href=\"https:\/\/wiki.freepascal.org\/lazdbexport\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"See this explanatory page.\">See this explanatory page.<\/a><\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>onlinepackagemanager<\/strong>: This is normally installed, however in editions where lazarus was compiled directly from sources, for example using fpcupdeluge it must be installed later. The online package manager allows us to visit a remote repository of libraries and components and install them through a GUI. I talk more about this component <a href=\"https:\/\/gladiston.net.br\/en\/?page_id=308\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"in this article\">in this article<\/a>.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>AnchorDocking<\/strong>: Allows the IDE to have its panels docked or docked, treat controls as if they were forms, use the mouse to drag and dock forms together, but by itself it won&#039;t make everything ready like the Delphi IDE, for that it is necessary to add other components as explained <a href=\"https:\/\/gladiston.net.br\/en\/?page_id=263\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"in this article\">in this article<\/a>.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>AnchorDockingDsgn<\/strong>: Use the previously installed anchorDocking to create a different IDE look where various panels and forms are already docked and ready for a new experience, very similar to the Delphi XE IDE with the exception of the design form that some prefer to be &quot;loose&quot; \u201d from the others. More information about him can be read <a href=\"https:\/\/gladiston.net.br\/en\/?page_id=263\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"in this article\">in this article<\/a>.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>dockedformeditor<\/strong>(opcional): Como mencionado, o AnchorDockingDsgn cria um visual da IDE com muitos pain\u00e9is docados simular ao visual do Delphi XE, por\u00e9m o formul\u00e1rio de design \u00e9 o \u00fanico a n\u00e3o ser docado. Pois bem, quando instalar este componente o formul\u00e1rio de design ser\u00e1 encaixando tamb\u00e9m aos demais. Maiores informa\u00e7\u00f5es s\u00e3o explicados<a href=\"https:\/\/gladiston.net.br\/en\/?page_id=264\" target=\"_blank\" rel=\"noreferrer noopener\" title=\" in this article\"> in this article<\/a>.<\/li>\n\n\n\n<li><strong>filefindlaz<\/strong>: Distribui uma unit chamada &#8220;FileFind&#8221; e tamb\u00e9m um componente TFileSearch. Usados para busca de arquivos recursivos (ou n\u00e3o) no sistema de arquivos.<\/li>\n\n\n\n<li><strong>favorites<\/strong>: Cria uma terceira se\u00e7\u00e3o (na parte superior) no menu suspenso do bot\u00e3o Abrir ferramenta, onde voc\u00ea pode registrar seus projetos favoritos.<\/li>\n\n\n\n<li><strong>lazReport <\/strong>and <strong>LazReportPDFExport<\/strong>(opcional): Estes dois pacotes consituem o lazReport, um fork do projeto FreeReport 2.32. Ele tem um Report Engine, Designer and Previewer. Ainda estou estudando-o e parece ser bastante promissor.<\/li>\n\n\n\n<li><strong>lazfpreportdesign<\/strong> and <strong>lazidefpreport<\/strong>(opcional): Apesar do prefixo &#8220;laz&#8221;, este pacote refere-se ao fpReport(seu nome original) \u00e9 um gerador de relat\u00f3rio, similar ao LazReport. Uma de suas vantagens \u00e9 n\u00e3o depender da LCL, ou seja, pode-se criar um relat\u00f3rio sem uma interface grafica, gerando diretamente um PDF. Isso \u00e9 muito \u00fatil para quem desenvolve tecnologias como cgi para webservers.<\/li>\n<\/ul>\n\n\n\n<p>After them, I can even install others, but it is not possible to proceed without these.<\/p>","protected":false},"excerpt":{"rendered":"<p>Os pacotes estendem as funcionalidades da IDE e a programa\u00e7\u00e3o, eles podem conter classes de objetos e\/ou componentes visuais\/n\u00e3o visuais. O Lazarus vem com muitos deles, mas boa parte n\u00e3o est\u00e1 instalada, s\u00e3o complementos adicionais que voc\u00ea decide instalar ou n\u00e3o p\u00f3s-instala\u00e7\u00e3o. \u00c9 uma boa recomenda\u00e7\u00e3o instalar apenas os pacotes que precisa ter como base [&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-307","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/307","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=307"}],"version-history":[{"count":11,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/307\/revisions"}],"predecessor-version":[{"id":2177,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/307\/revisions\/2177"}],"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=307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}