Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Communications programing
Message
De
01/06/2006 18:15:31
 
 
À
01/06/2006 16:37:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01123906
Message ID:
01126629
Vues:
29
A messagebox, in that case, will only give you what is presently in the input buffer. Might be 1,2,10 whatever characters. Instead, buffer the data in a form property and bind that to an editbox for testing.

Create a form property - inbuffer.
Add an editbox to your form - editbox1.
Set editbox1's controlsource to thisform.inbuffer.
In your OnComm event add the following code:

thisform.inbuffer = thisform.inbuffer + THIS.INPUT

and tell me what ya got ;-)

>It is MsgBox msComm1.Input in the OnComm event.
>
>>There must be at least one line of code somewhere to extract the data from the control - even in VB. Where is it?
>>
>>>There is no code. I am using all default values except RThreshold that set to 1.
>>>Exact same replica works fine in VB.
>>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform