Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mscomm
Message
De
30/01/2002 11:00:04
 
 
À
29/01/2002 22:43:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: Mscomm
Divers
Thread ID:
00610951
Message ID:
00612771
Vues:
24
This is one way:
loserin = NEWOBJECT("MSCOMMLib.MSComm")
loinhandler = NEWOBJECT("InComm")
lovfpcom.bindevents(loserin,loinhandler)

DEFINE CLASS incomm AS CUSTOM
        PROCEDURE oncomm
	        DO CASE
		    CASE loserin.commevent <> 2
			* Error handling?
		    CASE loserin.commevent = 2
                        * your input processing here
		ENDCASE
	ENDPROC
ENDDEFINE
>How to manually bind events using vfpcom?
>
>I normally open drop it to my form.
>
>TIA.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform