Found an issue in SpiderBasic ? Please report it here !
User avatar
Paul
 
Posts: 24
Joined: Wed Feb 26, 2014 6:46 pm
Location: Canada

CloseWindow doesn't work on Mobile Device

by Paul Sun Apr 29, 2018 5:55 pm

If you use
BindEvent(#PB_Event_CloseWindow...
on a mobile device, it does not detect a press on the closewindow icon.

In a browser using a mouse button it works as expected.


Code: Select all
#Window_Main=1

Procedure CloseWindowEvent()
  If EventWindow()=#Window_Main
    Debug "Close Window Detected"
  EndIf
EndProcedure

If OpenWindow(#Window_Main,231,109,301,144,"Test",#PB_Window_SystemMenu|#PB_Window_ScreenCentered)
  BindEvent(#PB_Event_CloseWindow,@CloseWindowEvent())
EndIf
Return to Bugs Reports

Who is online

Users browsing this forum: No registered users and 0 guests