
Sondern das ist mein Problem:
1. Programm auf Visual Designer zeichnen
2. Speichern
3. Source Generieren (Als PB-Datei)
4. PB-Datei ausführen
5. Es funktioniert nicht

Hier ein PB-Code zum selberprobieren:
Code: Alles auswählen
;- Window Constants
;
Enumeration
#Window_0
EndEnumeration
;- Gadget Constants
;
Enumeration
#String_0
#String_1
#Button_0
#ProgressBar_0
#CheckBox_0
#CheckBox_1
#Radio_0
#Radio_1
#Radio_2
EndEnumeration
Procedure Open_Window_0()
If OpenWindow(#Window_0, 216, 0, 600, 300, #PB_Window_SystemMenu | #PB_Window_SizeGadget | #PB_Window_TitleBar , "New window ( 0 )")
If CreateGadgetList(WindowID())
StringGadget(#String_0, 80, 30, 190, 20, "")
StringGadget(#String_1, 300, 30, 190, 20, "")
ButtonGadget(#Button_0, 200, 60, 160, 40, "Button_1")
ProgressBarGadget(#ProgressBar_0, 80, 170, 180, 20, 0, 10)
CheckBoxGadget(#CheckBox_0, 80, 80, 90, 20, "Check-Kasten1")
CheckBoxGadget(#CheckBox_1, 80, 110, 90, 20, "Check-Kasten2")
OptionGadget(#Radio_0, 340, 120, 60, 20, "Option1")
OptionGadget(#Radio_1, 340, 140, 60, 20, "Option2")
OptionGadget(#Radio_2, 340, 160, 60, 30, "Option3")
EndIf
EndIf
EndProcedure