Re: [lazarus] showmessage or similar that closes without a prompt

2007-12-18 Thread Graeme Geldenhuys
On 17/12/2007, el stamatakos [EMAIL PROTECTED] wrote: Hi All, I am having problems with this timer. The first thing is it does not close the form, even if I change the interval time. The second thing is I have a label on the form and the message is not being assigned to the labels caption

Re: [lazarus] showmessage or similar that closes without a prompt

2007-12-15 Thread Graeme Geldenhuys
Like Andrew said, you are closing the form yourself. Leave it for the timer to do. On 15/12/2007, el stamatakos [EMAIL PROTECTED] wrote: procedure TMainForm.ShowNotification(Msg:String; time:Cardinal); var MessageForm:TMessageChildForm; begin MessageForm:=TMessageChildForm.Create(Self); I

Re: [lazarus] showmessage or similar that closes without a prompt

2007-12-14 Thread Graeme Geldenhuys
On 14/12/2007, Lee Jenkins [EMAIL PROTECTED] wrote: ShowWaitMessage(sMsg, true); // ... do some work ShowWaitMessage('', false); I like that idea. Nice one! Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit

Re: [lazarus] showmessage or similar that closes without a prompt

2007-12-14 Thread Lee Jenkins
Graeme Geldenhuys wrote: On 13/12/2007, el stamatakos [EMAIL PROTECTED] wrote: Hi, I would like to display a message but not wait for the user to hit ok. I would like to display it for 1 second and then close it. The reason is I will have a process that will do different things and I would

Re: [lazarus] showmessage or similar that closes without a prompt

2007-12-14 Thread Graeme Geldenhuys
On 14/12/2007, Lee Jenkins [EMAIL PROTECTED] wrote: ShowWaitMessage(sMsg, true); // ... do some work ShowWaitMessage('', false); I was going to add that to tiOPF, but I see it already has something like that. :-) Amazing, after 5 years I still find new things in tiOPF.

Re: [lazarus] showmessage or similar that closes without a prompt

2007-12-14 Thread Lee Jenkins
Graeme Geldenhuys wrote: On 14/12/2007, Lee Jenkins [EMAIL PROTECTED] wrote: ShowWaitMessage(sMsg, true); // ... do some work ShowWaitMessage('', false); I was going to add that to tiOPF, but I see it already has something like that. :-) Amazing, after 5 years I still find new

Re: [lazarus] showmessage or similar that closes without a prompt

2007-12-14 Thread Alexsander Rosa
Why not use a TMemo? You could show several messages, like a progress log. Alternatively, you could show the information in the status bar. 2007/12/13, el stamatakos [EMAIL PROTECTED]: Hi, I would like to display a message but not wait for the user to hit ok. I would like to display it for

Re: [lazarus] showmessage or similar that closes without a prompt

2007-12-14 Thread Andrew Haines
el stamatakos wrote: Hi All, I created a form. I placed a TTimer on this form and a label. The code is like this procedure TMainForm.ShowNotification(Msg:String; time:Cardinal); var MessageForm:TMessageChildForm; begin MessageForm:=TMessageChildForm.Create(Self); MessageForm.Show;

RE: [lazarus] showmessage or similar that closes without a prompt

2007-12-14 Thread el stamatakos
Hi All, I created a form. I placed a TTimer on this form and a label. The code is like this procedure TMainForm.ShowNotification(Msg:String; time:Cardinal); var MessageForm:TMessageChildForm; begin MessageForm:=TMessageChildForm.Create(Self); MessageForm.Show; MessageForm.Visible:=True;

Re: [lazarus] showmessage or similar that closes without a prompt

2007-12-13 Thread Damien Gerard
On Dec 13, 2007, at 9:33 PM, el stamatakos wrote: Hi, I would like to display a message but not wait for the user to hit ok. I would like to display it for 1 second and then close it. The reason is I will have a process that will do different things and I would like to dispaly what is

Re: [lazarus] showmessage or similar that closes without a prompt

2007-12-13 Thread Graeme Geldenhuys
On 13/12/2007, el stamatakos [EMAIL PROTECTED] wrote: Hi, I would like to display a message but not wait for the user to hit ok. I would like to display it for 1 second and then close it. The reason is I will have a process that will do different things and I would like to dispaly what is