1. Kevin Thai
  2. PowerBuilder
  3. Saturday, 1 July 2023 00:04 AM UTC

Hi all,

 

I am using PowerBuilder 2022 Build 1892 and we have a user who opens many windows from our application and at time they have response type windows open and it gets lost inside everything. They report that the application is frozen and just dings when click anywhere. I am wonder if there is a way for force the response window to appear when they click out the window and get the ding sound. We have tried to keep it on top of everything using setposition but that resulted in it being on top of everything even the internet browser which made it tough for the user. So what I am looking for is some way to capture the user click outside the response ,getting the dings and force the response window to show up.

 

Thanks for the help!

Accepted Answer
John Fauss Accepted Answer Pending Moderation
  1. Saturday, 1 July 2023 04:09 AM UTC
  2. PowerBuilder
  3. # Permalink

Hi, Kevin -

Miguel raises several good questions that would be helpful to have answered. 
This sounds to me like a user training issue. If an application has a response window open and the user starts or switches to a different application and thereby covers up your application and the modal response window, then switching back to your application either by pressing Alt+Tab repeatedly or by clicking on your application’s icon in the Windows task bar should force Windows to redraw the response window so that it visible. This is a basic Windows application navigation technique that every user should know how to do. 
Best regards, John

Comment
  1. Miguel Leeuwe
  2. Saturday, 1 July 2023 05:38 AM UTC
Now that I read John's answer, I think I understand the user's problem. He hit the nail on the head when saying " then switching back to your application either by pressing Alt+Tab repeatedly or by clicking on your application’s icon in the Windows task bar should force Windows to redraw the response window so that it visible".

Good stuff!
  1. Helpful
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Saturday, 1 July 2023 03:00 AM UTC
  2. PowerBuilder
  3. # 1

Hi,

What do you mean exactly with "many windows from our application "? Multiple instances of the application running, or within one application multiple windows open?

I don't think it will be possible to detect from powerbuilder code that you have clicked outside an active response window. The whole idea of a response window is that you cannot click anywhere else until the active response is closed.

Are they really all response type or are some of them maybe Child / Popup types? Are they using dual monitors? Sometimes there's an open response on the second monitor, but since that monitor is off, you don't realize it.

regards.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.