MessageBox (Blocker BackgroundImage)

0
0

Hello,

Is it possible to remove the fading background of “MessageBox” when its prompted? because it’s fading or blocking the whole screen? I don’t want to create my own custom messagebox… is it possible to use “this.getBlocker().setColor(null); this.getBlocker().setBackgroundImage(null);” or something…

Thanks

  • You must to post comments
0
0

Hi, two options:

 

  1. MesssageBox.Show(“OK”, modal:false) (see all optional arguments). BUT: it doesn’t work as it should and I will log the bug. Additionally when modal is false it should not block the page.
  2. Currently you can change the color of the modal mask to transparent, however since the MessageBox is always modal (see 1 above) it will always block until the bug is fixed.

To change the color:

  1. By code: Application.Theme.Colors.modalMask = “red” (this changes the cached theme shared by all sessions).
  2. In a mixin: Add /Themes/App.mixin.theme file like this {“colors”:{“modalMask:”red”}}.

 

 

 

  • Junarism
    Hi Luca, Thanks Its works in build 2.2.52 by adding this “Application.Theme.Colors[“modalMask”] = “transparent”;” , i’m using this build because build 2.2.53 and up has a problem with the Enter-key in the Datetimepicker DropCalendar… hoping to solve this issue in build 2.2.60 / 2.5.xx
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.