[Done] Beta 1 windows do not close

Just starting out? Need help? Post your questions and find answers here.
User avatar
Ar-S
Posts: 7
Joined: Tue Feb 25, 2014 5:27 pm

[Done] Beta 1 windows do not close

Post by Ar-S »

Yop,
In the canvasgadget example, the main window do not close when tick the cross (Firefox 31 user)
~ Ar-S ~ - PB User - SB User
My Website : Dépannage Informatique dans l'Aude (11)
UnOfficial PB ressources : http://forumpb.ldvmultimedia.com/index.php
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: [Beta 1] windows do not close

Post by Peter »

Yop,

you have to code it by yourself:

Code: Select all

BindEvent(#PB_Event_CloseWindow, @CloseWindowEvent())

Code: Select all

Procedure CloseWindowEvent()
  CloseWindow(0)
EndProcedure
Greetings ... Peter
Fred
Site Admin
Posts: 1506
Joined: Mon Feb 24, 2014 10:51 am

Re: [Beta 1] windows do not close

Post by Fred »

Fixed the examples to avoid the close button.
Post Reply