Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FTP Clients
Message
De
06/01/2000 23:22:22
 
 
À
06/01/2000 23:13:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Divers
Thread ID:
00314176
Message ID:
00314313
Vues:
28
>Mabry does care about VFP and understands it. You can capture the events with the VFPCOM.DLL.

Yeah, I was surprised to see refrences in the FAQ and a sample for it. I'm going to continue using the OLEContainer method though.

This has the ultimate goofiest event method ever though, this is how I think it works (correct me if I'm wrong).

Every method has a Done event. Bag that: Every method uses the same Done() event, then in that event, you check the LastMethod property to determine what is done, so the Done event looks like:
lparame lastmethod, errorno

do case
	case lastmethod = 1
		*Do many lines of code, or call another method, ect.
	case lastmethod = 2
		*Do many lines of code, or call another method, ect.
	case lastmethod = 3
		*Do many lines of code, or call another method, ect.
	case lastmethod = 4
		*Do many lines of code, or call another method, ect.
	case lastmethod = 5
		*Do many lines of code, or call another method, ect.
endcase
Is that a standard anywhere? I've never seen anything like it, it could be very easy to max out the call stack that way if you call other methods from this event.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform