Hi SomeT. Hope you had a good vacation; I could really use one myself.SomeT wrote:...whenever I change anything on the form using the form designer it adds that code back into the pbf. file...

Since I don't use the Form Designer very much, I wasn't aware that there's an option to generate the events loop automatically. That option is probably enabled in your IDE, so here are the steps to disable it.
From the File menu, select Preferences; then in the dialog that appears, click on Form in the left panel; you should see five checkbox options in the dialog window. Uncheck the last one, Generate event loop, and click OK.
Now, that block of code would no longer be added automatically by the designer.
