[Done] Generate Events Procedure turns itself back on
Posted: Sun Apr 07, 2013 3:41 pm
I have a project that comprises one main file called main.pb and then 3 form files.
The Form files just contain the gadgets on the form.
All code including these window form events are in the main.pb file
Generate Events Procedure is not ticked on any of the forms..
Now close PB and relaunch it and load up the main.pb and the forms, then the Generate Events Procedure gets ticked automatically and then keeps recreating the window event code.
So when I come to run my main.pb I keep getting errors as the Event code is already defined in my main.pb which means I have to go into the forms and deselect the Generate Events Procedure and then delete the events procedures from all my forms.
Can this be fixed please so that when you load up a form the Generate Events Procedure is deselected say maybe by default or create some form load variables that remembers the form settings and uses these when loading the form into the designer.
Thanks
The Form files just contain the gadgets on the form.
All code including these window form events are in the main.pb file
Generate Events Procedure is not ticked on any of the forms..
Now close PB and relaunch it and load up the main.pb and the forms, then the Generate Events Procedure gets ticked automatically and then keeps recreating the window event code.
So when I come to run my main.pb I keep getting errors as the Event code is already defined in my main.pb which means I have to go into the forms and deselect the Generate Events Procedure and then delete the events procedures from all my forms.
Can this be fixed please so that when you load up a form the Generate Events Procedure is deselected say maybe by default or create some form load variables that remembers the form settings and uses these when loading the form into the designer.
Thanks