The button is always enabled at startup regardless of the state of Enabled property.
In the attached test app. the second button is disabled in the Designer, but you still can click it when the app is started. The first button switch the enabled state of the second button between True and False.
XUI Views is a b4x library (https://www.b4x.com/android/forum/threads/100383/#content). The same b4xlib library is compatible with B4A, B4i and B4J It is a collection of custom views and dialogs. Everything is written in B4X. The source code is included inside the b4xlib file, which is a zip...