Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design time event handler
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01221889
Message ID:
01224763
Vues:
31
>>>Hi Fred,
>>>
>>>> have the ability to breakpoint on the use of a VFP command. Not just on a particular line of code with the command, but on use of the command period.
>>>
>>>Somehow this is possible, I just don't know how. Y2KFOX from Netlib is such a product that alters the behavior of native functions like CTOD(). My bet would be that there's a list in memory that maps every token to a C routine to execute it. Changing that list would execute different code.
>>
>>Somehow, I just knew that you'd know how it could be done Christof. ;)
>>
>>Is there any way we can get access to any of the internal process points within VFP to do such a thing? With this level of access, we could get by for quite a long time without any additional changes to the core product.
>
>
>Something like:
>
>
>#DEFINE USE myuse1
>USE("Gotcha!")
>
>PROCEDURE myuse1
>	LPARAMETERS text1
>	WAIT WINDOW text1
>ENDPROC
>
>
>maybe? :-)

Looks like it could work. But I was thinking more like a BINDEVENT() type of thing that wouldn't involve a recompile.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform