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

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)
Return to Bugs Reports

Who is online

Users browsing this forum: No registered users and 1 guest