B4J Question [ABMaterial] MsgBox Cancel Button Color can't be set

incendio

Well-Known Member
Licensed User
Longtime User
Hello,

I have this codes on ABMShared
B4X:
MyTheme.AddMsgBoxTheme("ConfirmBox")
MyTheme.MsgBox("ConfirmBox").ConfirmButtonColor = ABM.COLOR_GREEN
MyTheme.MsgBox("ConfirmBox").CancelButtonColor = ABM.COLOR_RED
MyTheme.MsgBox("ConfirmBox").BackColor = ABM.COLOR_BLUEGREY
MyTheme.MsgBox("ConfirmBox").BackColorIntensity = ABM.INTENSITY_LIGHTEN5

On my page
B4X:
page.Msgbox2("Confirm","Delete this data?","","OK","Cancel",True,ABM.MSGBOX_TYPE_QUESTION,False,ABM.MSGBOX_POS_CENTER_CENTER,"ConfirmBox")

And this is the result

MsgBox.jpg


Isn't it Cancel Button color should be Red? Where did I miss?
 
Top