B4J Question ABMaterial - BACK action event?

JackKirk

Well-Known Member
Licensed User
Longtime User
Hi, is there an ABMaterial event that manages the user taking a BACK action on an ABMaterial webpage?

Thanks in anticipation...
 

MichalK73

Well-Known Member
Licensed User
Longtime User
An eternal problem that I also struggled with. I had to put '<-BACK' buttons on the page and place them appropriately on the page because people were giving back in the browser out of habit.
 
Upvote 0

JackKirk

Well-Known Member
Licensed User
Longtime User
Michal, I am rapidly coming to the same conclusion.

I have been playing around with javascript of the form:
B4X:
    //Event listener to detect user has taken BACK action
    window.addEventListener('popstate', () => {
        b4j_raiseEvent('${Passed_Instance_Name}_Redo', {'value': sps_deeplink_acc_guid});     
    });
but it doesn't work.
 
Upvote 0
Top