The training period would be shorter and the development time for programs with many Ementen in the form would be shortened.
The entire navigation would be simplified.
Here, the flow during the creation of a new program:
1 Create new form immediately and with a name such as save Beispiel.pbf
2 Inserting elements e.g. Button_0 and possibly change the designation of such Button_quit and enter an event procedure as "quit" (or is it the name entered here automatically?)
3 By double clicking on the new button on the form (or in the box next to the Event Procedure field) should now proceed as follows:
- It will create a file: Beispiel.pb
- The following routine is always inserted:
Code: Select all
EnableExplicit
IncludeFile "Beispiel.pbf"
Define event, EventGadget, EventType, EventMenu, EventWindow, prglauf
OpenWindow_0()
Repeat
Event = WaitWindowEvent()
EventGadget = EventGadget()
EventType = EventType()
EventMenu = EventMenu()
EventWindow = EventWindow()
prglauf=Window_0_Events(Event)
Until prglauf=#False
End
Code: Select all
Procedure quit(EventType)
EndProcedure
Editor is displayed on the
the new procedure is.
The programmer can now directly the code for this button
enter and complete the program!
4 Now simply go back into the form and a new element
then reinsert perform a double-click:
Since already the file "Beispiel.pb" is simply the skeleton
appended to the end of the new procedure,
then loaded Beispiel.pb new and the editor of the new, blank
Procedure set.
5 If one has already a form with many elements might be used to
well scroll to the procedure:
Double-click on the desired item for example Button is then examined
whether the procedure already exists and the editor of the
provided relevant item.
6 We deleted an item in the form generator is in the file
Beispiel.pb a jump to the procedure, and an information window,
that the procedure can now be removed by hand because they did not
more is called.
Now there is also the option to rename them by hand.
7 If the name of an existing event procedure in form generator
could automatically change the
Procedure be amended Beispiel.pb. Possibly. could by
Info with a yes or no place.
According to this technique, the entire navigation can Proceduren to the
graphic elements by double clicking done.
For large programs, which should be very fast and easy!
Could be realized with a plug-in that approach yourself?
Is it possible to incorporate this new feature soon in PureBasic?
Where there are any problems I do not see?
Sincerely yours
Wolfgang