Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MScomm class definition
Message
De
31/05/2005 15:34:10
 
 
À
31/05/2005 15:12:13
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01018748
Message ID:
01018811
Vues:
60
>I am doing it slightly differently.
>Tell me what I am doing wrong, please.
>Form' Init:
>SET PROCEDURE TO D:\foxframework\classes.fxp ADDITIVE
>cntTest1 = NEWOBJECT('cntTest1', 'd:\foxframework\classes.fxp')
>ThisForm.AddObject("ComReader","ComReader")
>EVENTHANDLER(ThisForm.ComReader.Object, cntTest1)
>*!* definition of cntTest1:
>DEFINE CLASS cntTest1 as CUSTOM
>IMPLEMENTS DMSCommEvents IN "MSCommLib.MSComm"
>PROCEDURE DMSCommEvents_OnComm() AS VOID;
>HELPSTRING "Occurs whenever the value of the CommEvent property changes."
> * add user code here
>ENDPROC
>ENDDEFINE
>
>So, how do I read INPUT?

Without seeing more code showing all the containership - impossible to tell ;-) I'll hazard a guess:

THISFORM.ComReader.WhateverTheControlNameIs.INPUT
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform