Share My Creation [B4X] [Project Template] B4XPages (2-Pages)

This is a minimal template with added only 1 new page.

1733918927251.png


Why I created this template?
  • The default B4XPages template has only 1 page (MainPage)
  • The 3 pages example is little complex
  • I always forget how I need to declare, initialize, add and show a page
GitHub: https://github.com/pyhoon/b4xpages-2pages
 

Attachments

  • B4XPages (2-Pages).b4xtemplate
    17.7 KB · Views: 84

aeric

Expert
Licensed User
Longtime User
Improvement:
instead of this:
B4X:
Page2.Initialize
B4XPages.AddPage("NewPage", Page2)
why not this:
B4X:
B4XPages.AddPage("NewPage", Page2.Initialize)
Oh, I don't know it can be written in this way.

I know
B4X:
B4XPages.AddPageAndCreate("NewPage", Page2)
but never use it.
 

Theera

Expert
Licensed User
Longtime User
So Cool,Aeric I've tested ,Would you mind if I ... to be in my privately template?
 

aeric

Expert
Licensed User
Longtime User
I hope this template could help anyone who wants to learn how to use B4XPages. It is very straight forward.
 

Theera

Expert
Licensed User
Longtime User
I hope this template could help anyone who wants to learn how to use B4XPages. It is very straight forward.
I would like to say " sorry to you" about your code of B4A-Bridge.I should ask you before. I think you angry me that. Your work is interesting. I always respects you.
 

aeric

Expert
Licensed User
Longtime User
I would like to say " sorry to you" about your code of B4A-Bridge.I should ask you before. I think you angry me that. Your work is interesting. I always respects you.
No I am not angry with you on B4A-bridge but just want to clarify, if you want to download and reupload my youtube video, at least ask me directly. I will allow it. Not do it quietly or secretly. It happened that I find out accidentally. But I think the video is already taken down.
Next time, just send me a message and ask. It doesn't take much time. If you want, I can send the source to you and you can translate the video to Thai.
 

Theera

Expert
Licensed User
Longtime User
I only want to introduce B4X ToThaiDevelpers in the tiktok which it is not permited to give the link from YouTubedirectly. I would like to help Erel to sale B4i product in Thai. Don't isunderstand me. I have really always respected every the experts and others. Why do I never give some money to Erel's company. Because I have earned a little for my life.I think Erel Perhaps remembered, I asked for someoneto buy b4a for me.
 

aeric

Expert
Licensed User
Longtime User
I only want to introduce B4X ToThaiDevelpers in the tiktok which it is not permited to give the link from YouTubedirectly. I would like to help Erel to sale B4i product in Thai. Don't isunderstand me. I have really always respected every the experts and others. Why do I never give some money to Erel's company. Because I have earned a little for my life.I think Erel Perhaps remembered, I asked for someoneto buy b4a for me.
I understand you and know your intention is good.
Just want to tell you, when we want to use someone else work and republish to another place, you must tell the original creator first.
I know the law in Thailand is not very strict but outside of Thailand, the copyright law is apply.
 
Top