For Programmers: Free Programming Magazines  


Home > Archive > Delphi > March 2004 > ShowMessage and delay...









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ShowMessage and delay...
Svend Emil

2004-03-27, 12:21 am

Hi

I'm having some ShowMessages in my program, but the caption says.
"Project1". Can I just add another line, and decide the caption myself ?

Also, how do I make a delay order.. I'm generating a class by a repeat
order, and there is a picture for each student, and I then want like a 0,5
sec delay, or pause.

--
--- Svend Emil ---


Andrzej Szukiewicz

2004-03-27, 12:21 am

On Sun, 29 Feb 2004 19:18:44 +0100, Svend Emil <hader@spam.ja> wrote:

> Hi
>
> I'm having some ShowMessages in my program, but the caption says.
> "Project1". Can I just add another line, and decide the caption myself ?
>
> Also, how do I make a delay order.. I'm generating a class by a repeat
> order, and there is a picture for each student, and I then want like a
> 0,5
> sec delay, or pause.
>


If you want different caption in message window, try using "MessageBox"
function.

If you want delay, try the "Sleep" function.

Grtz,
Andrzej

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
El Lorenzo

2004-03-27, 12:21 am

Just before the ShowMessage line, add Application.Title :='your new name';

"Svend Emil" <hader@spam.ja> wrote in message
news:40422d04$0$55950$edfadb0f@dtext01.news.tele.dk...
> Hi
>
> I'm having some ShowMessages in my program, but the caption says.
> "Project1". Can I just add another line, and decide the caption myself ?
>
> Also, how do I make a delay order.. I'm generating a class by a repeat
> order, and there is a picture for each student, and I then want like a 0,5
> sec delay, or pause.
>
> --
> --- Svend Emil ---
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com