Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FTP Clients
Message
De
07/01/2000 08:17:17
 
 
À
06/01/2000 23:22:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Divers
Thread ID:
00314176
Message ID:
00314417
Vues:
37
>>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).

I don't have the code here at home to check, but it sounds right from what I remember.

>
>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.

No, not standard. But the control works. I've got some automated processes that put and get files all the time.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform