Wish B4XPages under the hood


Licensed User

This is a wish.
When B4Xpages has become the universal way of programming, it became more difficult for me to use the examples in the forum,
as they as sometimes based on the original b4j UI.

I would like to learn more about how B4Xpages works "under the hood", to have a better understanding how forms are called etc.
When to declare a button as "button", and when as B4Xview?
Or if there is already a detailed manual available, let me know I am always interested.
I don't want to ask obvious questions, and interrupt the pro developers with basic questions.

A previous question, where kimstudio has given the answer:

For me, it's about understanding what is going on.
Any hint about where to start is always appreciated.
A video about this topic would be great, but I also understand it is a lot of work.
I know there is already a video about B4Xpages, how to use it, but for me, it's about, how does it work internally.

Thanks in advance.


B4X founder
Staff member
Licensed User
Longtime User
1. The guides do cover B4XPages and XUI: https://www.b4x.com/android/documentation.html
2. Everyone likes short and simple questions. Don't hesitate.

When to declare a button as "button", and when as B4Xview?
Never Button. Only B4XView.
Some views are not covered well by B4XView. WebView for example or the more esoteric views such as SplitPane and others. For these views it makes sense to declare the native type.
Truth is that this question isn't really about B4XPages but rather about XUI, which is the cross platform UI API: https://www.b4x.com/android/forum/threads/b4x-xui-cross-platform-native-ui-library.84359/#content