Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bindevent crashes Fox
Message
De
31/05/2005 12:14:29
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01018697
Message ID:
01018745
Vues:
13
>>I see.
>>Do I also need something like this in my class:
>
>>poComReader = ''
>>PROCEDURE INIT
>>	This.poComReader = CREATEOBJECT('MSCOMMLib.MSComm')
>>	WITH This.poComReader
>>		.CommPort = 8
>>		.Settings = "9600,N,8,1"
>>		.InputLen = 1
>>		.PortOpen = .T.
>>	ENDWITH	
>>	EVENTHANDLER(This.poComReader, This)
>>ENDPROC
>
I never used this ActiveX control so cannot tell which settings you would need to get it to work.
I think my question was about EVENTHANDLER. Where do I put that line? In the class definition?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform