# IHM blocked if diagnostics popup is opened and messageBox

**URL:** <https://forum.inductiveautomation.com/t/ihm-blocked-if-diagnostics-popup-is-opened-and-messagebox/7132>\
**Category:** Ignition\
**Created:** [August 23, 2013, 12:06pm UTC](https://forum.inductiveautomation.com/t/ihm-blocked-if-diagnostics-popup-is-opened-and-messagebox/7132 "2013-08-23T12:06:04Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 27, 2021, 3:44pm UTC](https://forum.inductiveautomation.com/t/ihm-blocked-if-diagnostics-popup-is-opened-and-messagebox/7132/12 "2021-08-27T15:44:01Z")

</div>

> [@Project Properties via code](https://forum.inductiveautomation.com/t/project-properties-via-code/31991/2):
>
> This isn’t directly possible - you can theoretically retrieve project properties in the runtime, but modifying them wouldn’t actually do anything to your running client. If you just need to toggle the menu bars, then that’s the approach to take. Theoeretically, something like this might work: from javax.swing import SwingUtilities from com.inductiveautomation.factorypmi.application import FPMIApp fpmiapp = SwingUtilities.getAncestorOfClass(FPMIApp, \<some component reference\>) if fpmiapp is no…

If you use this code to get a reference to FPMIApp, then use reflection (i.e. Apache commons FieldUtils) to read the `diagnosticsDialog`, you could then `setVisible(false)` to ensure it's not showing.

---

_[View the full topic](https://forum.inductiveautomation.com/t/ihm-blocked-if-diagnostics-popup-is-opened-and-messagebox/7132)._
