Bom estou testando o Rem Objects com o Delphi 2007.
Encontrei um pequeno problema ao tentar estabelecer uma conexão utilizando o drive do rem objects para dbx o erro era "DLL/Shared Library Name not Set" para resolver esse pequeno problema basta recompilar o arquivo DADBXDrv.dpr que fica na pasta RemObjects Software\Data Abstract for Delphi\Source\Drives e após ter feito isso copiar e substituir o arquivo DADBXDrv.dad que será gerado na pasta RemObjects Software\Data Abstract for Delphi\Bin para a pasta RemObjects Software\Data Abstract (Common)\Bin
Pronto tente agora utilizar o wizard e realizar a conexão utilizando o drive DBX e estará tudo ok.
Grande abraço para o Evgeny Karpov que ajudou a solucionar este pequeno problema e um grande abraço a todos.
Até a próxima pessoal.
Diego M. Garcia
Artigos técnicos para desenvolvedores.
ECO, Delphi, e outras tecnologias do mercado ;)
quinta-feira, 23 de agosto de 2007
quinta-feira, 26 de julho de 2007
Testes começarão com Rem Objects Data Abstract
I ai galera,
Fui altorizado a postar artigos sobre o remobjects data abstract, então nos próximos dias estarei postando artigos sobre como utiliza-lo.
Bom primeiro gostaria de agradecer Marc Hoffman e toda a equipe da Rem Objects por tornar isto possivel, primeiro por terem criado este framework e por terem me ajuda com muitas coisas ;)
Então fiquem antenados, pois nos proximos dias vocês muitas noticias no blog.
Abraço,
Diego M. Garcia
Fui altorizado a postar artigos sobre o remobjects data abstract, então nos próximos dias estarei postando artigos sobre como utiliza-lo.
Bom primeiro gostaria de agradecer Marc Hoffman e toda a equipe da Rem Objects por tornar isto possivel, primeiro por terem criado este framework e por terem me ajuda com muitas coisas ;)
Então fiquem antenados, pois nos proximos dias vocês muitas noticias no blog.
Abraço,
Diego M. Garcia
Rem Objects Data Abstract - The tests will begin
Hi guys,
I've been authorized to post articles about the remobjects data abstract framework, and in the next days I will start posting some articles on how to use it.
First of all I need to Thanks Marc Hoffman and all the Team of Rem Objects to make it possible, by mading the framework and by help me with a lote of things ;)
So keep tunned, the next days will have a lote of news about it in this blog.
Regards,
Diego M. Garcia.
I've been authorized to post articles about the remobjects data abstract framework, and in the next days I will start posting some articles on how to use it.
First of all I need to Thanks Marc Hoffman and all the Team of Rem Objects to make it possible, by mading the framework and by help me with a lote of things ;)
So keep tunned, the next days will have a lote of news about it in this blog.
Regards,
Diego M. Garcia.
domingo, 1 de julho de 2007
Using the TTrayIcon component
Hello guys, how do you do ?
I've found a litle time today to post an litle article about the ttrayicon component that came with Delphi.
There are some samples that you can found it on the web, but all those I've have seen has a litle problem when you minimize and restore your app. The problem is that it stays two titles of your application on the start menu bar.
So lets do the job.
On onClick event of your TTrayIcon put the follow code:
Self.Show; //comment this line if your D2007 doesnt have update 1
application.Restore;
Drop an TApplicationEvents on your form and put the follow code on OnMinimize event of your TApplicationEvents component.
triPrincipal.Visible := True; //triPrincipal is the TTrayIcon component
Application.Minimize;
Self.Hide;
On OnRestore event write the follow:
//Self.Show; //uncomment this line if your D2007 doesnt have update 1
application.BringToFront;
triPrincipal.Visible := False; //triPrincipal is the TTrayIcon component
Now your application will appear on windows tray without problems.
I hope you guys liked ;)
Regards,
Diego M. Garcia.
I've found a litle time today to post an litle article about the ttrayicon component that came with Delphi.
There are some samples that you can found it on the web, but all those I've have seen has a litle problem when you minimize and restore your app. The problem is that it stays two titles of your application on the start menu bar.
So lets do the job.
On onClick event of your TTrayIcon put the follow code:
Self.Show; //comment this line if your D2007 doesnt have update 1
application.Restore;
Drop an TApplicationEvents on your form and put the follow code on OnMinimize event of your TApplicationEvents component.
triPrincipal.Visible := True; //triPrincipal is the TTrayIcon component
Application.Minimize;
Self.Hide;
On OnRestore event write the follow:
//Self.Show; //uncomment this line if your D2007 doesnt have update 1
application.BringToFront;
triPrincipal.Visible := False; //triPrincipal is the TTrayIcon component
Now your application will appear on windows tray without problems.
I hope you guys liked ;)
Regards,
Diego M. Garcia.
terça-feira, 22 de maio de 2007
Utilizando o componente TTrayIcon
Fala pessoal tudo bem ?
Bom arranjei um tempinho hoje para escrever um pequeno artigo sobre utilização do componente ttrayicon que vem junto com o Delphi.
Existe em alguns sites exemplos de como utilizar porem todos que vi até hoje possui um pequeno problema que ao minimizar e restaurar o seu aplicativo, na barra do menu iniciar fica dois títulos de sua aplicação.
Bom vamos a pratica.
No evento onClick do componente ttrayicon coloque o código
Self.Show; //Comente esta linha caso seu D2007 não possua Update 1
application.Restore;
coloque um componente TApplicationEvents e no evento OnMinimize coloque o código
triPrincipal.Visible := True; //triPrincipal é o componente TTrayIcon
Application.Minimize;
Self.Hide;
No evento OnRestore coloque
//Self.Show; //Descomente esta linha caso seu D2007 não possua Update 1
application.BringToFront;
triPrincipal.Visible := False; //triPrincipal é o componente TTrayIcon
Pronto deste jeito seu programa aparecera no tray do Windows perfeitamente.
Espero que vocês tenham gostado, e até a proxima.
Abraços,
Diego M. Garcia.
Bom arranjei um tempinho hoje para escrever um pequeno artigo sobre utilização do componente ttrayicon que vem junto com o Delphi.
Existe em alguns sites exemplos de como utilizar porem todos que vi até hoje possui um pequeno problema que ao minimizar e restaurar o seu aplicativo, na barra do menu iniciar fica dois títulos de sua aplicação.
Bom vamos a pratica.
No evento onClick do componente ttrayicon coloque o código
Self.Show; //Comente esta linha caso seu D2007 não possua Update 1
application.Restore;
coloque um componente TApplicationEvents e no evento OnMinimize coloque o código
triPrincipal.Visible := True; //triPrincipal é o componente TTrayIcon
Application.Minimize;
Self.Hide;
No evento OnRestore coloque
//Self.Show; //Descomente esta linha caso seu D2007 não possua Update 1
application.BringToFront;
triPrincipal.Visible := False; //triPrincipal é o componente TTrayIcon
Pronto deste jeito seu programa aparecera no tray do Windows perfeitamente.
Espero que vocês tenham gostado, e até a proxima.
Abraços,
Diego M. Garcia.
Assinar:
Postagens (Atom)