Found an issue in SpiderBasic ? Please report it here !
User avatar
Niffo
 
Posts: 50
Joined: Sat Jun 16, 2018 10:30 pm

[Done] 2.21 B1 : CloseWindow() deletes wrong gadgets

by Niffo Fri Oct 26, 2018 10:03 am

CloseWindow() seems to delete gadgets created after its opening, even if on an other window.
In the example below, if you uncomment the last line (CloseWindow(1), the gadget on window 0 is deleted :

Code: Select all
OpenWindow(0, 100, 100, 300, 200, "CloseWindow bug test")

ContainerGadget(1, 10, 50, 200, 100, #PB_Canvas_Border)
CloseGadgetList()

OpenWindow(1, 400, 200, 200, 200, "Second Window")

OpenGadgetList(1)
ButtonGadget(2, 50, 10, 50, 50, "Hello")
CloseGadgetList()

;CloseWindow(1)
Fred
Site Admin
 
Posts: 1162
Joined: Mon Feb 24, 2014 10:51 am

Re: 2.21 B1 : CloseWindow() deletes wrong gadgets

by Fred Mon Jan 14, 2019 7:15 pm

Fixed.
Return to Bugs Reports

Who is online

Users browsing this forum: No registered users and 2 guests