Hi, Steve.
>After opening up a form with the Class Browser and then clicking on View Class Code,
>I can edit the code and run it. But if I make changes and want to save or run the code
>I am asked if I want to save "viewcode.prg". Is there a way to save and edit
>over the original .scx form file?
The View Class Code is not meant to edit the code, but to have a PRG version of a visual component. Take in consideration that this code is not always executable, as you''l find if you use a grid in your form/class.
Its purpose is more for documentation or to have a simpler way to compare between different versions.
To make changes to your form, just open it up into the Form Designer and edit the code there.
Hope this helps,