Event handling
Posted: Mon Dec 24, 2012 3:31 pm
Hi Polo,
You need to do something about the event handling stuff. Too much manual typing needs to be done.
I make a lot of errors with this system.
Why dont you create automatic the event file which belongs to the PBF file? So both are always linked to each other.
-> New project (with Form), Main.pb created.
-> New Form, Input pop-up, Name the Form(class), create 2 files, 1x PBF and 1x PB (link to eachother), add to project
-> New Class/Module/include, input pop-up, namethe file, add to the project, add include in main.pb
Also, On the event procedure, make a select box of the event types supported by the manual.
When somebody clicks on the event, the procedure will pop-up in de source code (Form1.pb).
Then you will have something close to how Delphi/Visual Basic works.
That way you have a cleaner system.
If you need help on programming this, i want to help you.
Like;
- Main.pb
- Form1.pbf
- Form1.pb
You need to do something about the event handling stuff. Too much manual typing needs to be done.
I make a lot of errors with this system.
Why dont you create automatic the event file which belongs to the PBF file? So both are always linked to each other.
-> New project (with Form), Main.pb created.
-> New Form, Input pop-up, Name the Form(class), create 2 files, 1x PBF and 1x PB (link to eachother), add to project
-> New Class/Module/include, input pop-up, namethe file, add to the project, add include in main.pb
Also, On the event procedure, make a select box of the event types supported by the manual.
When somebody clicks on the event, the procedure will pop-up in de source code (Form1.pb).
Then you will have something close to how Delphi/Visual Basic works.
That way you have a cleaner system.
If you need help on programming this, i want to help you.
Like;
- Main.pb
- Form1.pbf
- Form1.pb