B4J Question ABMaterial prevent page refresh/reload?

DonManfred

Expert
Licensed User
Longtime User
You can not prevent the user from pressing F5/reloading the page.
 
Upvote 0

Harris

Expert
Licensed User
Longtime User
I tried putting a MsgBox2 in several places within the page to prevent a full refresh (use cache) but can't accomplish it.

This is the order of events when refresh of browser is selected...


B4X:
 Page_ParseEvent - preparing for parentpage1 url refresh
 WebSocket_Disconnected
 building page - Initialize
 Starting WS1 WebSocket_Connected
Waiting for value (100 ms)
Saving the first instance
Waiting for value (100 ms)
 WebSocket_Connected - Websocket first connection
 page: ParentPage
Waiting for value (100 ms)
 Finished loading users
Waiting for value (100 ms)
Waiting for value (101 ms)
Waiting for value (100 ms)
 WebSocket_Connected -- This parent  Page ID: ParentPage1aa9228d-4aed-4e97-b646-eae39d4826ef
 
Upvote 0
Top