Board index » delphi » Indy is great, 8.0 / 8.021b super, only one qestion

Indy is great, 8.0 / 8.021b super, only one qestion

Hallo Indy team,
i just converted my V50 project to the new Indy version.
All is running fine. I had to do only small modifications to my code,
at idTCPServer.OnExecute, i had to add .....Readln('', 1000);
and to add:  if (not AThread.Connection.ReadLnTimedOut) then ......,
to get full speed.
my homepage uploader is also running super.
Thanks a lot for this grat job, you are doing.

The question:
if i click with the right mous button on a Indy component,
i can get a nice about window. How to do, that, if user clicks
to menu item "about Indy", this nice window will be shown
in the ready application?

Ernst Gerlach
ernst.gerl...@epost.de
http://www.gerlach-mtl.de
--- use plain text only in email ---

 

Re:Indy is great, 8.0 / 8.021b super, only one qestion


[This followup was posted to borland.public.delphi.internet.winsock and a
copy was sent to the cited author.]

In article <95s9ed$i...@bornews.inprise.com>, ernst.gerl...@epost.de
says...

Quote
> Hallo Indy team,
> i just converted my V50 project to the new Indy version.
> All is running fine. I had to do only small modifications to my code,
> at idTCPServer.OnExecute, i had to add .....Readln('', 1000);
> and to add:  if (not AThread.Connection.ReadLnTimedOut) then ......,
> to get full speed.
> my homepage uploader is also running super.
> Thanks a lot for this grat job, you are doing.

> The question:
> if i click with the right mous button on a Indy component,
> i can get a nice about window. How to do, that, if user clicks
> to menu item "about Indy", this nice window will be shown
> in the ready application?

In IdAbout, there is a procedure that displays the box.

ShowAboutBox(const AProductName, AProductVersion: string);

We call this in the component editor with a line such as:

ShowAboutBox(RSAAboutBoxCompName, gsIdVersion);

RSAAboutBoxCompName is in IdResourceStrings and gsIdVersion is in
IdGlobal.

HTH.

--
Support the anti-Spam amendment - Join at http://www.cauce.org/
J. Peter Mugaas     E-Mail:  oma00...@mail.wvnet.edu
http://wvnvm.wvnet.edu/~oma00215/  ICQ Number:  14297043
Finger for PGP Key

Re:Indy is great, 8.0 / 8.021b super, only one qestion


"J. Peter Mugaas" <oma00...@mail.wvnet.edu> schrieb im Newsbeitrag
news:MPG.14eb7af9fa48b08c989899@newsgroups.borland.com...

Quote
> In IdAbout, there is a procedure that displays the box.

> ShowAboutBox(const AProductName, AProductVersion: string);

> We call this in the component editor with a line such as:

> ShowAboutBox(RSAAboutBoxCompName, gsIdVersion);

> RSAAboutBoxCompName is in IdResourceStrings and gsIdVersion is in
> IdGlobal.

> HTH.

Its a pity, i just tried.
1) At top of IdAbout, i read th line:
"//TODO: Split this into to two .pas files so the IDE does not freak out."
Now i know the meaning.
2) The exe moved from 908 kb -> 1258 kb,
and now back, after i removed. -)
I have a about page in project with my adress and the "BuiltWIndy.bmp",
and a link to Indy homepage.
I hope, thats sufficient.

Ernst Gerlach
ernst.gerl...@epost.de
http://www.gerlach-mtl.de
--- use plain text only in email ---

Re:Indy is great, 8.0 / 8.021b super, only one qestion


ernst.gerl...@epost.de (Ernst Gerlach) wrote in <95sicj$iq611
@bornews.inprise.com>:

Quote
>Its a pity, i just tried.
>1) At top of IdAbout, i read th line:
>"//TODO: Split this into to two .pas files so the IDE does not freak out."
>Now i know the meaning.

We will be fixig this. :)

This unit had many Window specific calls, and they didnt work for Kylix. And
we were frozen so we couldnt add any new units, so...

Quote
>I have a about page in project with my adress and the "BuiltWIndy.bmp",
>and a link to Indy homepage.
>I hope, thats sufficient.

Thats sufficient.

--
Chad Z. Hower (Kudzu) - Church Hill, TN - Team Indy
      "Programming is an art form that fights back"
Forget the Y2K problem, Lets fix the W2K problem.
http://www.pbe.com/Kudzu/ - Free Delphi/CBuilder components and articles

Other Threads