Wish Add the following comment to New B4xPages App

MrKim

Well-Known Member
Licensed User
Longtime User
In addition to:
B4X:
'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage.
For us slow to learn folks also include:
B4X:
'B4XPages Events
'
'B4XPage_Created - Called once when the page Is created. This will happen before the page becomes visible Or after a call To B4XPages.AddPageAndCreate.
'B4XPage_Appear - Called whenever the page becomes visible.
'B4XPage_Disappear - Called whenever a visible page disappear.
'B4XPage_Background - Called when the app is moved to the background. This event will be raised in all pages that implement this sub, not just the top event. This is a good place to save anything that needs to be save as the process might be killed later. Note that in B4J it is raised when the last page is closed.
'B4XPage_Foreground - Called when the app moved to the foreground.
'B4XPage_Resize (B4J / B4i) - Called when the page is resized.
'B4XPage_CloseRequest (B4J / B4A) - In B4A it is called when the user clicks on the back key or on the up indicator. In B4J it is called when the user clicks on the close button. See post #4 for more information.
'B4XPage_MenuClick - Called when a menu item item or BarButton in B4i is clicked. See post #5 for more information.
'B4XPage_KeyboardStateChanged (B4i) - Called when the keyboard state changes.
'B4XPage_IconifiedChanged (B4J) - Called when a page is minimized or restored.
'B4XPage_PermissionResult (B4A) - Raised after a call to rp.CheckAndRequest.
From https://www.b4x.com/android/forum/t...framework-for-managing-multiple-pages.118901/
Post #7
 

Cableguy

Expert
Licensed User
Longtime User
In addition to:
B4X:
'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage.
For us slow to learn folks also include:
B4X:
'B4XPages Events
'
'B4XPage_Created - Called once when the page Is created. This will happen before the page becomes visible Or after a call To B4XPages.AddPageAndCreate.
'B4XPage_Appear - Called whenever the page becomes visible.
'B4XPage_Disappear - Called whenever a visible page disappear.
'B4XPage_Background - Called when the app is moved to the background. This event will be raised in all pages that implement this sub, not just the top event. This is a good place to save anything that needs to be save as the process might be killed later. Note that in B4J it is raised when the last page is closed.
'B4XPage_Foreground - Called when the app moved to the foreground.
'B4XPage_Resize (B4J / B4i) - Called when the page is resized.
'B4XPage_CloseRequest (B4J / B4A) - In B4A it is called when the user clicks on the back key or on the up indicator. In B4J it is called when the user clicks on the close button. See post #4 for more information.
'B4XPage_MenuClick - Called when a menu item item or BarButton in B4i is clicked. See post #5 for more information.
'B4XPage_KeyboardStateChanged (B4i) - Called when the keyboard state changes.
'B4XPage_IconifiedChanged (B4J) - Called when a page is minimized or restored.
'B4XPage_PermissionResult (B4A) - Raised after a call to rp.CheckAndRequest.
From https://www.b4x.com/android/forum/t...framework-for-managing-multiple-pages.118901/
Post #7

You can do it yourself, B4XPages is a Opensource Template, provided by EREL, and you can customise it to your own needs.

That way, whenever you create a new B4XPages project, based on your template, those comments will be there!
 

zed

Active Member
Licensed User
Once you've used them a few times, you'll get to know them well.
There will no longer be any reason to write them on the page.
Save them to a text file. It will also be effective.
 

LucaMs

Expert
Licensed User
Longtime User
You can do it yourself, B4XPages is a Opensource Template, provided by EREL, and you can customise it to your own needs.
?

1702110894451.png


"Complete" project, although custom class templates can also be created (and I did this too).
 

MrKim

Well-Known Member
Licensed User
Longtime User
Once you've used them a few times, you'll get to know them well.
There will no longer be any reason to write them on the page.
Save them to a text file. It will also be effective.
I have been using them almost since inception. Some of us just have no memory for the little details.
 
Top