I have used the sleep function before. However I really dont know how it is 
threaded. When I tried it in this application, it failed to execute as it 
should. Compiles and crash free. However the sleep happens at the wrong time 
and in a wrong way. Thanks for the suggestion. It is a simple way to fix it, if 
it worked as it should.

Regards
TFE
http://totallyfreeenergy.zxq.net

--- In [email protected], Doug Hale <del...@...> wrote:
>
> A simple way is to manually time how long the speech takes and then 
> Sleep() for that long.
> 
> Doug
> 
> 
> totallyfreeenergy wrote:
> > I have a tricky problem while using Microsoft TextToSpeech component.
> > When I start the speak say
> >  
> > Form1.TextToSpeech1.Speak("After I stop speaking comp1 will become 
> > visible");
> > Form1.Component1.Visible := true;
> >
> > I would like to achieve a pause till the TextToSpeech1 stops speaking then 
> > go to the next statement. 
> >
> > If anyone has any ideas on this, pl. help !
> >
> > Regards
> > TFE
> > http://totallyfreeenergy.zxq.net
> >
> >
> >
> >
> > ------------------------------------
> >
> > -----------------------------------------------------
> > Home page: http://groups.yahoo.com/group/delphi-en/
> > To unsubscribe: delphi-en-unsubscr...@...! Groups Links
> >
> >
> >
> >   
> > ------------------------------------------------------------------------
> >
> >
> > No virus found in this incoming message.
> > Checked by AVG - www.avg.com 
> > Version: 8.5.425 / Virus Database: 270.14.60/2496 - Release Date: 11/11/09 
> > 07:40:00
> >
> >
>


Reply via email to