Re: SpiderBasic 3.30 beta 1 is out !
Posted: Wed May 27, 2026 7:43 am
It's a regression, will be fixed in beta 2. Thanks !
- a basic to master the web -
https://forums.spiderbasic.com/
Great news, thank you!Fred wrote: Wed May 27, 2026 10:22 am - 2026-05-27: beta 2 is out, with some bug fixes, and a new DateUTC() function.
Thank you very much for beta2 - that was fast!
Code: Select all
Procedure ButtonEvent()
Filename$ = OpenFileRequester("", #PB_Requester_MultiSelection)
; Process all the selected filename
;
While Filename$
Debug "Filename: " + Filename$
Filename$ = NextSelectedFilename()
Wend
EndProcedure
OpenWindow(0, 100, 100, 200, 55, "File")
ButtonGadget(0, 10, 10, 170, 25, "Open local file...")
BindGadgetEvent(0, @ButtonEvent())Code: Select all
Procedure ButtonEvent()
Filename$ = OpenFileRequester("")
If Filename$
Image = LoadImage(#PB_Any, Filename$, #PB_LocalFile)
If Image
; Display the image in a new window
OpenWindow(#PB_Any, 10, 10, 300, 300, "Image", #PB_Window_SizeGadget)
ImageGadget(#PB_Any, 0, 0, ImageWidth(Image), ImageHeight(Image), ImageID(Image))
EndIf
EndIf
EndProcedure
OpenWindow(0, 100, 100, 200, 55, "File")
ButtonGadget(0, 10, 10, 170, 25, "Open local file...")
BindGadgetEvent(0, @ButtonEvent())
Code: Select all
OpenFileRequester(Pattern$, Callback)Code: Select all
OpenFileRequester(Pattern$, #PB_Requester_MultiSelection)