B4A Class [B4X] [XUI] AS MsgBox/Dialog

LucaMs

Expert
Licensed User
Longtime User
ASMsgBox1.InitializeWithoutDesigner(MainForm.RootPane, 0xFF2F343A, True, True, False, 200dip, 350dip)

I think that parameter that I highlighted in bold should determine whether to show the closing X or not, but it seems to have no effect (the X is shown in any case).
 

Alexander Stolte

Expert
Licensed User
Longtime User
I think that parameter that I highlighted in bold should determine whether to show the closing X or not, but it seems to have no effect (the X is shown in any case).
In my example project is the following line of code, which shows the x sign again:
B4X:
ASMsgBox1.CloseButtonVisible = True

Thanks for the fonation, have a great weekend
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…