{"id":358,"date":"2022-01-07T18:31:14","date_gmt":"2022-01-07T21:31:14","guid":{"rendered":"https:\/\/gladiston.net.br\/?page_id=358"},"modified":"2022-07-13T16:04:57","modified_gmt":"2022-07-13T19:04:57","slug":"aprendendo-por-exemplos","status":"publish","type":"page","link":"https:\/\/gladiston.net.br\/en\/programacao\/lazarus-ide\/aprendendo-por-exemplos\/","title":{"rendered":"learning by example"},"content":{"rendered":"<p>A very big difficulty for those who still don&#039;t have experience is finding examples of how to use components and classes in FreePascal and Lazarus.<\/p>\n\n\n\n<p>In general, all components and classes that come with Lazarus also come with demos, examples, samples and even test codes that are located in the folder of each of them. However, some forget to look or don&#039;t even know they exist, so I created this article that accompanies a video.<\/p>\n\n\n\n<p>Probably the Lazarus team also noticed this difficulty and created a very practical and modern solution. Go in&nbsp;<strong>Tools|Example Projects<\/strong>&nbsp;:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/gladiston.github.io\/hello_lazarus\/assets\/lazarus-tools_examples1.png\" alt=\"Menu Tools|Example Project\"\/><\/figure>\n\n\n\n<p>And then you&#039;ll find more than 400 examples for the most varied purposes, don&#039;t believe it, so see:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/gladiston.github.io\/hello_lazarus\/assets\/lazarus-tools_examples2.png\" alt=\"Janela de dialogo de Example Project\"\/><\/figure>\n\n\n\n<p>Assista o v\u00eddeo abaixo, ser\u00e1 mais f\u00e1cil demonstrar como usar esta pratica ferramenta a fim de encontrar aprendizado e solu\u00e7\u00e3o:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-incorporar-manipulador wp-block-embed-incorporar-manipulador wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Lazarus IDE Learning by example\" width=\"580\" height=\"326\" src=\"https:\/\/www.youtube.com\/embed\/5PGFdVkL3FU?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>\n\n\n\n<p>Use this feature whenever you have doubts about how a component or class works.<\/p>","protected":false},"excerpt":{"rendered":"<p>Uma dificuldade muito grande para quem ainda n\u00e3o tem experi\u00eancia \u00e9 encontrar exemplos de como usar componentes e classes no FreePascal e Lazarus. De modo geral, todos os componentes e classes que acompanham o Lazarus acompanham tamb\u00e9m demos, exemplos, amostras e at\u00e9 mesmo c\u00f3digos para testes que se situam na pasta de cada um deles. [&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-358","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/358","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=358"}],"version-history":[{"count":3,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/358\/revisions"}],"predecessor-version":[{"id":1606,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/358\/revisions\/1606"}],"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=358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}