How replace Delay()
Posted: Mon Jun 10, 2019 2:14 pm
Hello everybody, this is maybe a true beginners question. In PB I could easily have blinking text using Delay().
How this can be achieved in SB?
Code: Select all
OpenWindow(0,0,0,600,400,"Test", #PB_Window_ScreenCentered)
TextGadget(0, 10, 10, 580, 40, "This is a text")
SetGadgetText(0, "")
Delay(200)
SetGadgetText(0, "This is a test")
Delay(200)
SetGadgetText(0, "")
Delay(200)
SetGadgetText(0, "This is a test")
Delay(200)
SetGadgetText(0, "")
Delay(200)
SetGadgetText(0, "This is a test")