Frank,
I am aware of the right click menu commenting and beautify features. I was looking to add these commands to a button on the toolbar to make them much simpler to access (point and click). I am also looking to modify the way that the beautify function works. I was hoping to have set options and just click to beautify. There are may times that I have to right click on the vertical scroll bar in order to beautify the whole program or method. It likes to hightlight only a section of code at a time. Thanks for all your help.
Jeff
>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 ?
Jeff Pearce