<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-120161195353369613.post8814459091841572196..comments</id><updated>2011-10-27T05:34:32.789-07:00</updated><category term='mobile'/><category term='Python'/><category term='Nerdices'/><category term='poo'/><category term='Telefonica'/><category term='Experts'/><category term='design patterns'/><category term='Emprego TI Vaga'/><category term='javascript'/><category term='Não categorizado'/><category term='nfe'/><category term='apple'/><category term='.Net'/><category term='singleton'/><category term='Lazarus'/><category term='Suporte'/><category term='tecnologia'/><category term='música'/><category term='open source'/><category term='fringe'/><category term='api'/><category term='GNU'/><category term='metaprogramação'/><category term='firebird'/><category term='Ajax'/><category term='Meus patrões precisam ler isso'/><category term='Protesto'/><category term='Web'/><category term='delphi'/><category term='Anime'/><category term='developers'/><category term='grupos'/><category term='AMS'/><category term='trollface'/><category term='Galaxy S'/><category term='Atendimento'/><category term='gráficos'/><category term='Eventos'/><category term='Humor'/><category term='Inglês'/><category term='reflexão'/><category term='prism'/><category term='easter egg'/><category term='Site aos Pedaços'/><category term='Programação'/><category term='Speedy'/><category term='dicas'/><category term='ASp.Net'/><category term='games'/><category term='introspecção'/><category term='oracle'/><category term='C#'/><category term='PHP'/><category term='segurança'/><category term='Assembly'/><category term='Reflexões'/><category term='sql'/><category term='Básico'/><category term='HTML'/><category term='Debug'/><category term='linguagem'/><category term='livros'/><category term='SO'/><category term='Camisetas Nerds'/><category term='banco de dados'/><category term='Pascal'/><category term='Api do Windows'/><category term='Dicas Básicas Windows'/><category term='e-commerce'/><title type='text'>Comments on Vitor Rubio Developer - Dicas de programação: Criando um lookup que chame uma de suas forms</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.vitorrubio.com.br/feeds/8814459091841572196/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/120161195353369613/8814459091841572196/comments/default'/><link rel='alternate' type='text/html' href='http://blog.vitorrubio.com.br/2011/08/criando-um-lookup-que-chame-uma-de-suas.html'/><author><name>Vitor Luiz Rubio</name><uri>http://www.blogger.com/profile/09819146101627563485</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-yH4O4rfXZfY/TiBMQ7Qw2QI/AAAAAAAAAZQ/l429StPP9Z0/s220/vitor-quadrado-738x738-150dpi.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-120161195353369613.post-7275481383538627158</id><published>2011-10-27T05:34:32.789-07:00</published><updated>2011-10-27T05:34:32.789-07:00</updated><title type='text'>Você necessita mesmo usar constructor com parâmetr...</title><summary type='text'>Você necessita mesmo usar constructor com parâmetros? Não tem como substituir os parâmetros por propriedades, ou atribuir um valor default a eles? &lt;br /&gt;&lt;br /&gt;Se você não pode usar constructor sem parâmetros é porque provavelmente você abre o seu dataset no evento oncreate do formulário ou até no próprio constructor para ele já abrir mostrando os dados. Não faça isso. Abra os datasets dentro de </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/120161195353369613/8814459091841572196/comments/default/7275481383538627158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/120161195353369613/8814459091841572196/comments/default/7275481383538627158'/><link rel='alternate' type='text/html' href='http://blog.vitorrubio.com.br/2011/08/criando-um-lookup-que-chame-uma-de-suas.html?showComment=1319718872789#c7275481383538627158' title=''/><author><name>Vitor Luiz Rubio</name><uri>http://www.blogger.com/profile/09819146101627563485</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-yH4O4rfXZfY/TiBMQ7Qw2QI/AAAAAAAAAZQ/l429StPP9Z0/s220/vitor-quadrado-738x738-150dpi.JPG'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vitorrubio.com.br/2011/08/criando-um-lookup-que-chame-uma-de-suas.html' ref='tag:blogger.com,1999:blog-120161195353369613.post-8814459091841572196' source='http://www.blogger.com/feeds/120161195353369613/posts/default/8814459091841572196' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1776235874'/></entry><entry><id>tag:blogger.com,1999:blog-120161195353369613.post-973813572367586738</id><published>2011-10-25T04:16:11.054-07:00</published><updated>2011-10-25T04:16:11.054-07:00</updated><title type='text'>Olá Vitor, obrigado pela atenção.

Por não ser tão...</title><summary type='text'>Olá Vitor, obrigado pela atenção.&lt;br /&gt;&lt;br /&gt;Por não ser tão experiente assim, gostaria que se possivel ver um exemplo da forma mais simples, pois não manjo nada sobre esses recursos que vc citou acima.&lt;br /&gt;&lt;br /&gt;eu aprendi a usar assim nos forms:&lt;br /&gt;&lt;br /&gt;constructor Create(AOwner: TComponent; Cliente: String; Valor: Real); overload;&lt;br /&gt;&lt;br /&gt;e por ai vai, depende dos parametros que tenho </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/120161195353369613/8814459091841572196/comments/default/973813572367586738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/120161195353369613/8814459091841572196/comments/default/973813572367586738'/><link rel='alternate' type='text/html' href='http://blog.vitorrubio.com.br/2011/08/criando-um-lookup-que-chame-uma-de-suas.html?showComment=1319541371054#c973813572367586738' title=''/><author><name>Painna</name><uri>http://www.blogger.com/profile/07078491211242448896</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07059410386764581829'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vitorrubio.com.br/2011/08/criando-um-lookup-que-chame-uma-de-suas.html' ref='tag:blogger.com,1999:blog-120161195353369613.post-8814459091841572196' source='http://www.blogger.com/feeds/120161195353369613/posts/default/8814459091841572196' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1283513502'/></entry><entry><id>tag:blogger.com,1999:blog-120161195353369613.post-1955154949682972182</id><published>2011-10-25T04:12:53.262-07:00</published><updated>2011-10-25T04:12:53.262-07:00</updated><title type='text'></title><summary type='text'>Este comentário foi removido pelo autor.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/120161195353369613/8814459091841572196/comments/default/1955154949682972182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/120161195353369613/8814459091841572196/comments/default/1955154949682972182'/><author><name>Painna</name><uri>http://www.blogger.com/profile/07078491211242448896</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07059410386764581829'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vitorrubio.com.br/2011/08/criando-um-lookup-que-chame-uma-de-suas.html' ref='tag:blogger.com,1999:blog-120161195353369613.post-8814459091841572196' source='http://www.blogger.com/feeds/120161195353369613/posts/default/8814459091841572196' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.contentRemoved' value='true'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1283513502'/></entry><entry><id>tag:blogger.com,1999:blog-120161195353369613.post-2658619878169301323</id><published>2011-09-30T04:33:13.961-07:00</published><updated>2011-09-30T04:33:13.961-07:00</updated><title type='text'>Você tem 3 opções, sem causar dependência ou acopl...</title><summary type='text'>Você tem 3 opções, sem causar dependência ou acoplamento:&lt;br /&gt;&lt;br /&gt;1) Transforme o parâmetro em uma propriedade published e use RTTI para preenche-lo se ele existir.&lt;br /&gt;&lt;br /&gt;2) Faça com que os formulários com parâmetros herdem de uma form em comum que tenha esse parametro. Daí, em uma unit separada declare na seção interface:&lt;br /&gt;type &lt;br /&gt;MinhaFormComParametroClass = class of </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/120161195353369613/8814459091841572196/comments/default/2658619878169301323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/120161195353369613/8814459091841572196/comments/default/2658619878169301323'/><link rel='alternate' type='text/html' href='http://blog.vitorrubio.com.br/2011/08/criando-um-lookup-que-chame-uma-de-suas.html?showComment=1317382393961#c2658619878169301323' title=''/><author><name>Vitor Luiz Rubio</name><uri>http://www.blogger.com/profile/09819146101627563485</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-yH4O4rfXZfY/TiBMQ7Qw2QI/AAAAAAAAAZQ/l429StPP9Z0/s220/vitor-quadrado-738x738-150dpi.JPG'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vitorrubio.com.br/2011/08/criando-um-lookup-que-chame-uma-de-suas.html' ref='tag:blogger.com,1999:blog-120161195353369613.post-8814459091841572196' source='http://www.blogger.com/feeds/120161195353369613/posts/default/8814459091841572196' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1776235874'/></entry><entry><id>tag:blogger.com,1999:blog-120161195353369613.post-3964871969296220737</id><published>2011-09-29T12:42:33.072-07:00</published><updated>2011-09-29T12:42:33.072-07:00</updated><title type='text'>Olá,

muito boa essa dica, mas será que vc saberia...</title><summary type='text'>Olá,&lt;br /&gt;&lt;br /&gt;muito boa essa dica, mas será que vc saberia me dizer como usar com forms que passa parametros ?&lt;br /&gt;&lt;br /&gt;Grato,&lt;br /&gt;&lt;br /&gt;Alessandro.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/120161195353369613/8814459091841572196/comments/default/3964871969296220737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/120161195353369613/8814459091841572196/comments/default/3964871969296220737'/><link rel='alternate' type='text/html' href='http://blog.vitorrubio.com.br/2011/08/criando-um-lookup-que-chame-uma-de-suas.html?showComment=1317325353072#c3964871969296220737' title=''/><author><name>Painna</name><uri>http://www.blogger.com/profile/07078491211242448896</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='07059410386764581829'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vitorrubio.com.br/2011/08/criando-um-lookup-que-chame-uma-de-suas.html' ref='tag:blogger.com,1999:blog-120161195353369613.post-8814459091841572196' source='http://www.blogger.com/feeds/120161195353369613/posts/default/8814459091841572196' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1283513502'/></entry></feed>
