Allerdings hat sich mir jetzt ein relativ banales Problem gestellt, vllt ist die Frage fast schon ein wenig zu einfach, aber ich raffe es gerade irgendwie nicht....
Code: Alles auswählen
Enumeration ;Fenster
#Window_Main
EndEnumeration
Enumeration ;Gadgets etc
#NetworkServer
#Text_Status_connection
#Text_In
#Text_out
#Button_send
#Image_Background
#image0
EndEnumeration
Image0 = CatchImage(#image0, ?Image0)
DataSection
Image0:
IncludeBinary "background.jpg"
EndDataSection
OpenWindow(#Window_Main, 0, 0, 650, 450, "GWC-client", #PB_Window_SizeGadget | #PB_Window_TitleBar | #PB_Window_ScreenCentered| #PB_Window_SystemMenu)
If CreateGadgetList(WindowID(#Window_Main))
EditorGadget(#Text_In,0,0,300,80)
ButtonGadget(#Button_send, 385, 425, 90, 20, "send")
EditorGadget(#Text_out, 10, 425, 330, 20)
ImageGadget(#Image_Background, 0,0,650,450,Image0)
EndIf
Weiss jemand Rat, wäre sehr dankbar!