Hi Jeff,
I don't know how .NET (un)comments code, but (just in case you didn't know) in VFP you can highlight a block of code, right click and choose comment/uncomment. You can do the same with Beautify too.
>Ultimately I would like to modify the way that beautify works but what annoys me most is the fact that I have to select a menu and then the beautify function. It would also be nice to be able to comment and uncomment code like .NET. Do you have any suggestions?
>
>
>
>>>Does anyone have any examples of adding the Beautify function to a button on a VFP toolbar? I cannot find any examples of how to do this.
>>>
>>>Thanks,
>>>Jeff
>>
>>What exactly is your goal?
>>
>>Have you looked at xsource\wizards\wzfoxdoc\fd3fll ?