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

[Done] 2.21B : Creating a ContainerGadget triggers an event

by Niffo Mon Nov 19, 2018 2:09 pm

Creating a ContainerGadget triggers an event (EventType() = 0)

Code: Select all
Procedure Callback()
   Debug "Callback() : " + EventType()
EndProcedure

OpenWindow(0, 100, 100, 300, 300, "Events Test")

BindEvent(#PB_Event_Gadget, @Callback())

ContainerGadget(0, 10, 10, 100, 100, #PB_Container_Flat)
CloseGadgetList()
Fred
Site Admin
 
Posts: 1134
Joined: Mon Feb 24, 2014 10:51 am

Re: 2.21B : Creating a ContainerGadget triggers an event

by Fred Mon Jan 14, 2019 6:53 pm

Fixed. It now send an event of type '#PB_EventType_Resize'. The doc has been updated as well.
Return to Bugs Reports

Who is online

Users browsing this forum: No registered users and 1 guest