"The specified gadget is not initialised ??
Code: Select all
Enumeration Stuff
#G_Editor2
EndEnumeration
OpenWindow(0, 0, 0, 640, 240, "Demo", #PB_Window_ScreenCentered | #PB_Window_SystemMenu)
Editor_1 = EditorGadget(#PB_Any, 10, 10, 600, 100)
SetGadgetColor(Editor_1, #PB_Gadget_BackColor, #Black)
SetGadgetColor(Editor_1, #PB_Gadget_FrontColor, #White)
Editor_2 = EditorGadget(#G_Editor2, 10, 120, 600, 100)
SetGadgetColor(Editor_2, #PB_Gadget_BackColor, #Black)
SetGadgetColor(Editor_2, #PB_Gadget_FrontColor, #White)
Editor_3 = EditorGadget(1, 10, 120, 600, 100)
SetGadgetColor(Editor_2, #PB_Gadget_BackColor, #Black)
SetGadgetColor(Editor_2, #PB_Gadget_FrontColor, #White)
Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow

