#Region Project Attributes
#MainFormWidth: 600
#MainFormHeight: 600
#End Region
Sub Process_Globals
Private fx As JFX
Private MainForm As Form
Private xui As XUI
Private Button1 As B4XView
End Sub
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.RootPane.LoadLayout("Layout1")
MainForm.Resizable=False
MainForm.Show
End Sub
Sub Button1_Click
xui.MsgboxAsync("Hello World!", "B4X")
End Sub
OK.. I see in your code that you are replacing the standard titlebar. If that's then case then the library you are using controls that feature. Unfortunately, I am not familiar with that library. Hopefully someone else can help. Good luck!
I've seen a few questions on the forums about changing the titlebar color. The answer is that you have to replace the title bar. This gives the problem of then losing all of the form controls, resizing minimising, maximising and close buttons. This is a customview, that does all of this...