Hi,
I’m using the QLPreviewPanelMBS class to show previews in one of my apps.
But when the QuickLook panel is shown, the menu items in the menu bar are greyed out. That’s because the Xojo window isn’t in front and doesn’t handle the MenuBarSelectedEvent.
However, that’s not the expected behaviour, nor the one I need. The Finder, for instance, allows to move a selected item to the trash while its QuickLook preview is being shown (its menu items are still enabled), which is precisely what I’d like to achieve in my app.
I made attempts to show the panel without bringing it to the front, like setting QLPreviewPanelMBS.becomesKeyOnlyIfNeeded to True or calling QLPreviewPanelMBS.orderBack just after calling QLPreviewPanelMBS.show, but nothing worked.
So I’m looking for further advices, please.