Code: Alles auswählen
OpenWindow(0, 0, 0, 600, 400, "Test", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
FrontColor = #Red
BackColor = #Blue
StartDrawing (WindowOutput (0))
DrawingMode (#PB_2DDrawing_Default)
DrawText (50, 50 + i*25, "Testtext");, #Green, #Yellow)
StopDrawing ()
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow