Forms's ShowModalMask Property



Based on  Form.ShowModalMask Property,  “forms opened using ShowDialog() – always shows the modal mask by default”. However, setting the property to false has no effect.

Am I missing something obvious?



  • You must to post comments

That’s correct. When using ShowDialog() the dialog is modal and the modal mask is always shown, as explained in the remarks of the ShowModalMask property. You can use that property to show the modal mask when a form is not modal.

  • Puloy Sebastian
    As per documentation, it says “by default” which means that even if you don’t set the property, modal mask will always be true and shown but it is set to false, it should not be shown.
  • Luca (ITG)
    It doesn’t say it will “always be true”, it says it will “always be shown”. You cannot turn off the modal mask for a modal dialog. You can theme it if you need to, using a theme mixin or a custom theme.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.