...but it still feels not "pure" and also not "basic" for me - I tried to ignore the design (the used fonts are not displayed completely) and was trying to use all wellknown methods (mouse and keyboard) to create some objects, what took me quite a while. When I wanted to start the created code (see below) by pressing F5, it did not work, also when I changed one of the duplicate constant names in the form designer window.
After that, I spent some more time with the designer, but the whole thing is still to complicate for me. For instance, the text of a text gadget is moved (totally) to the right, when the #pb_text_center flag will be enabled and a lot of other things.
I am sure, a lot of time was spent to create the form designer with its enormous functions and it might be a jewel for all who learn to work with it. But for me it is really hard, because the designers concept seems to be (a little bit) different to all the tools I have used so far for editing ressource files, starting in ancient time with the Borland Ressource Workshop.
So maybe it is worth to add another help page to give some hints, how the designer should be used most efficently. Perhaps some more improvements could be done to polish the tool here and there, like checking constant names prefixes and just adding numbers (#String_002 instead of #String_0_Copy1_Copy1).
Code: Select all
;
; This code is automatically generated by the FormDesigner.
; Manual modification is possible to adjust existing commands, but anything else will be dropped when the code is compiled.
; Event procedures needs to be put in another source file.
;
Enumeration FormWindow
#Window_0
EndEnumeration
Enumeration FormGadget
#Text_0
#String_0
#String_0_Copy1
#Text_0_Copy1
#String_0_Copy1
#String_0_Copy1_Copy1
#Button_0
#Button_1
#String_0_Copy1_Copy1_Copy1
EndEnumeration
Procedure OpenWindow_0(x = 0, y = 0, width = 375, height = 195)
OpenWindow(#Window_0, x, y, width, height, "", #PB_Window_SystemMenu)
TextGadget(#Text_0, 15, 30, 105, 25, "")
StringGadget(#String_0, 165, 30, 90, 25, "")
StringGadget(#String_0_Copy1, 270, 30, 90, 25, "")
TextGadget(#Text_0_Copy1, 15, 75, 100, 25, "")
StringGadget(#String_0_Copy1, 120, 75, 30, 25, "")
StringGadget(#String_0_Copy1_Copy1, 165, 75, 90, 25, "")
ButtonGadget(#Button_0, 165, 150, 90, 25, "")
ButtonGadget(#Button_1, 270, 150, 90, 25, "")
StringGadget(#String_0_Copy1_Copy1_Copy1, 270, 75, 90, 25, "")
EndProcedure