Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Msagent, how do I wait till its done
Message
De
04/04/2003 12:23:16
 
 
À
04/04/2003 09:14:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00773778
Message ID:
00774095
Vues:
15
>Couldnt get that to work However,
>Finally found something in the MSDN. Works good.
>
>
.speak("Say something.\mrk=1\")
>
>note the \mrk=1\
>
>Then the _agent.bookmark event fires and passes the parameter 1, the event only fires after the mrk is encountered.

you have to check for 2 numers:
DO WHILE inlist(loRequest.Status, 2, 4)
   wait wind 'agent is talking - wait' nowait
   DOEVENTS
ENDdo
wait wind "he's finsished - go ahead" nowait
* *** 0 Request successfully completed.  
* *** 1 Request failed.  
* *** 2 Request pending (in the queue, but not complete).  
* *** 3 Request interrupted.  
* *** 4 Request in progress.  
hope this helps.

my problem is i can not get the agent to show, it shows only the message baloon
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform