Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Msagent, how do I wait till its done
Message
 
À
03/04/2003 16:09:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00773778
Message ID:
00773821
Vues:
13
>This all works fine, but the timing is wrong. Everything flashes by, leaving the character talking on
>the original form. How can I force foxpro to wait until the msagent has finished speaking before closing
>the new form.
>
>loAgent = thisform.Agent.Characters(JUSTSTEM(thisform.agent.Comment))
>WITH loAgent
*!* .speak("The folks at Elizabeth Carbide have asked me to guide you along the path to organization.")	
    loRequest = .Speak("The folks at Elizabeth Carbide have asked me to guide you along the path to organization.")	
    DO WHILE loRequest.Status = 4
        DOEVENTS
    ENDdo
>endwith
>
>thisform.ostatemanager.closeform('tool.scx')
>thisform.Show()
The above is untested, but should get you moving in the right direction.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform