PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Response when clicking on inactive panel  (Read 1177 times)

thenewguy

  • Member
  • **
  • Posts: 15
    • View Profile
Response when clicking on inactive panel
« on: September 17, 2020, 07:42:37 PM »
Hi all,

I've had an interesting situation come up that I'm not sure if there's an answer for.

So you have a main menu, you click a button and a smaller panel pops up in front. Instead of doing anything with this new panel, you minimize it, so you're just looking at the main menu again, even though it's not "active."

The user then clicks around on this panel and thinks the program has frozen, because they don't realize they've minimized the "front" panel.

Is there any way to, when you click on an inactive panel, bring whatever one has control up to the front again?

Long shot, but I thought I'd ask.

Thanks!

Stéphane Devouard

  • Diamond Member
  • *****
  • Posts: 122
  • PxPlus guru with skills in PHP, JS, C#, Java
    • View Profile
    • Stéphane's Web Resume
Re: Response when clicking on inactive panel
« Reply #1 on: September 18, 2020, 02:47:31 AM »
Hi

If the popup panel is modal, which seems to be the case, then no, none of what you do in the calling panel will react since the input focus in on the modal

The best suggestion I can come up with would be to prevent the popup from being minimized -- remove the check from the "Minimize box" attribute on the header on the modal panel

Hope this helps
Stéphane Devouard
Portfolio | Work

thenewguy

  • Member
  • **
  • Posts: 15
    • View Profile
Re: Response when clicking on inactive panel
« Reply #2 on: September 18, 2020, 08:33:04 AM »
Sorry for not being clear, these panels are displayed using the "process" command.
Is that modal?

Stéphane Devouard

  • Diamond Member
  • *****
  • Posts: 122
  • PxPlus guru with skills in PHP, JS, C#, Java
    • View Profile
    • Stéphane's Web Resume
Re: Response when clicking on inactive panel
« Reply #3 on: September 25, 2020, 01:50:26 PM »
Process is the command you use to run a panel.

A panel will be modal (it will « disable » the panel that run it) if it has the « dialogue » attribute checked in its header.

Regards
Stéphane Devouard
Portfolio | Work