Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine method name
Message
De
16/07/2009 15:02:24
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01412763
Message ID:
01412807
Vues:
48
Hi Naomi,
Aselobj() does give me the name of the VCX, but not the name of the method being edited. Sergy has an example of using _wontop() that looks promising.

Gary

>>Hi,
>>I'm playing with a builder and I'm trying to figure out how to determine the currently being edited method in a VCX.
>>
>>I basically want to copy all the method code to _cliptext, dink with it and replace the method code with the new and hopefully improved code.
>>
>>KEYBOARDing ctrl+a, ctrl+c seems to erase the method code, which I'd rather not do if possible. I was thinking some readmethod() and writemethod() might work, but I don't know how to get the name of the method programmatically.
>>
>>Any ideas?
>>
>>Gary
>
>Gary,
>
>See message # 1406938
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform