Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine method name
Message
From
16/07/2009 15:02:24
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, United States
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01412763
Message ID:
01412807
Views:
51
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform