String in data Windows and Gadgets
Posted: Thu Mar 01, 2018 10:50 am
This code works with PureBasic. Would it be possible to have the same result with SpiderBasic? Thanks ^-^
Code: Select all
OpenWindow(0, 0, 0, 800, 600, "Test", #PB_Window_SystemMenu|#PB_Window_ScreenCentered)
SetWindowData(0, @"Value in data object")
Debug PeekS(GetWindowData(0))
CompilerIf #PB_Compiler_OS <> #PB_OS_Web
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
CompilerEndIf