Cableguy Expert Licensed User Longtime User Jul 17, 2022 #1 Hi guys.... Scratching my head again.... I can't get neither of the B4Pages_Background and B4Pages_Foreground to fire.... Need Help!!
Hi guys.... Scratching my head again.... I can't get neither of the B4Pages_Background and B4Pages_Foreground to fire.... Need Help!!
Solution agraham Jul 17, 2022 Have you got the event names correct - they are not plural. This works for me. B4X: Sub B4XPage_Foreground Log("Fore") End Sub Sub B4XPage_Background Log("Back") End Sub
Have you got the event names correct - they are not plural. This works for me. B4X: Sub B4XPage_Foreground Log("Fore") End Sub Sub B4XPage_Background Log("Back") End Sub
MicroDrie Well-Known Member Licensed User Longtime User Jul 17, 2022 #2 Stop scratching until bleeding ? because now we're also going to wonder what you want to achieve ?. Upvote 0
Cableguy Expert Licensed User Longtime User Jul 17, 2022 #3 MicroDrie said: Stop scratching until bleeding ? because now we're also going to wonder what you want to achieve ?. Click to expand... I just "detected" that those 2 évents don't seem to fire. I worked around it but I would like to know why they didn't fire Upvote 0
MicroDrie said: Stop scratching until bleeding ? because now we're also going to wonder what you want to achieve ?. Click to expand... I just "detected" that those 2 évents don't seem to fire. I worked around it but I would like to know why they didn't fire
agraham Expert Licensed User Longtime User Jul 17, 2022 #4 Have you got the event names correct - they are not plural. This works for me. B4X: Sub B4XPage_Foreground Log("Fore") End Sub Sub B4XPage_Background Log("Back") End Sub Upvote 1 Solution
Have you got the event names correct - they are not plural. This works for me. B4X: Sub B4XPage_Foreground Log("Fore") End Sub Sub B4XPage_Background Log("Back") End Sub
Cableguy Expert Licensed User Longtime User Jul 17, 2022 #5 agraham said: Have you got the event names correct - they are not plural. This works for me. B4X: Sub B4XPage_Foreground Log("Fore") End Sub Sub B4XPage_Background Log("Back") End Sub Click to expand... Hi Andrew, Many thanks... B4XPages is something I am still trying to get a grip on... It's odd to me to have an object B4XPages but that the events related to it are B4Page... and you were right as you usualy are... I had it plural Upvote 0
agraham said: Have you got the event names correct - they are not plural. This works for me. B4X: Sub B4XPage_Foreground Log("Fore") End Sub Sub B4XPage_Background Log("Back") End Sub Click to expand... Hi Andrew, Many thanks... B4XPages is something I am still trying to get a grip on... It's odd to me to have an object B4XPages but that the events related to it are B4Page... and you were right as you usualy are... I had it plural