Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine method name
Message
From
20/07/2009 10:41:43
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:
01413373
Views:
86
Sergey,
Thanks for the reference. I made it work using the editor functions in FoxTools.

Thanks also Christof, Craig and Naomi.

Gary

>Check http://www.berezniker.com/content/pages/visual-foxpro/copy-command-window-selected-text-clipboard-programmatically and http://www.berezniker.com/content/pages/visual-foxpro/copy-prg-contents-clipboard
>
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform