Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EventHandler Error
Message
De
02/11/2007 10:56:25
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
EventHandler Error
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01266094
Message ID:
01266094
Vues:
55
THIS is a form and oSock is an OLE control. Getting an "invalid count or funtion" error on the EventHandler line. When THIS was a Session instead of a Form, it worked. But there were other issues having it as Session, so I went with Form as the container. Everytime I change something in these classes, something else breaks. Any help appreciated.
	PROCEDURE SETUP() AS Boolean

		* Traps events for the port communication object
		IF EVENTHANDLER(THIS.oSock, THIS)
			* ? 'Event handler succeeded'
		ELSE
			* ? 'Event handler failed'
		ENDIF

	ENDPROC
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform