Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help :MScomm - OnComm Event
Message
De
30/01/2002 10:54:18
 
 
À
29/01/2002 22:38:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00612593
Message ID:
00612760
Vues:
27
If thisform.oMsComm1.input does indeed have the data, you must do something with it. I normally create a form property called 'inbuffer'. Then in the OnComm event, just do:

THISFORM.inbuffer = THISFORM.inbuffer + thisform.oMsComm1.input

adds the input to the buffer. Now process the buffer elsewhere.

>I found the onComm event does fire when my comm port received data.
>
>But when I try receive data by manually (thisform.oMsComm1.input), I found the data is there. Why??
>
>How can I configure it to make it working properly????
>
>TIA.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform