1. Ivan Aase
  2. PowerBuilder
  3. Tuesday, 22 January 2019 11:50 AM UTC

Hi,

We are using GetFileSaveName to get file store to disk.

As this is a Windows session it get its one windows session an is not listed as an prosess under our MDI.

When running program that use some time before asking for the filename, then the result is that users may do other tings while waiting and they don't see this process waiting for their input as user pay attetion to the MDI session.

Is there any possibility getting this fileprosess to be a prosess under our mdi ? Or do we had to make our one window  asking for filename in situations like this?

 

regards

Ivan

 

Ivan Aase Accepted Answer Pending Moderation
  1. Wednesday, 23 January 2019 15:54 PM UTC
  2. PowerBuilder
  3. # 1

This is an MDI PB app that using "GetFileSaveName" as a command.

When doing that the "GetFileSaveName" seems to bee on Pprocess of its own, and if you try to go into the MDI process (returning from other, ex. a Mailbox) then naturly the MDI does not respond while it wait on "GetFileSaveName" process to finish.

 

Ivan.

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 23 January 2019 22:38 PM UTC
Hi Roland;

I agree 100% the GetFileSaveName method opens a Response (modal) window in the same thread (process) as the PB App. That means that the O/S dialogue is "in the users" face at all times and the MDI window cannot get control (aka Focus) back until it closes.

Regards ... Chris
  1. Helpful
  1. Ivan Aase
  2. Thursday, 24 January 2019 13:42 PM UTC
Thank's,



I do not disagree on that it is a modal window, but its seems like it in some cases also shown with it's own processe icon on Windows processline. Sp I think I will try the multi-threaded proposal from Chris.



Ivan
  1. Helpful
  1. Ivan Aase
  2. Thursday, 24 January 2019 13:59 PM UTC
Hi,



A little clarification.

What we see when it becomes to this "own process" is that you get "getfileSaveName" as own "process" when using Alt+tab in windows.

So Customers experiences this as a separate process that does not show up if one choose the MDI window from this Alt-Tab view. Although "getfilesave" is a modal window beneath then MDI process.

When Customer choose "GetFileSaveName" window it all work fine.



Regards

Ivan.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 22 January 2019 21:04 PM UTC
  2. PowerBuilder
  3. # 2

Hi Ivan;

   Just to understand what your asking in more detail ... Is this a PB app that ir running another PB App as another process, where the 2nd App is using the "GetFileSaveName" command?

Regards ... Chris

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 22 January 2019 16:08 PM UTC
  2. PowerBuilder
  3. # 3

The only way you can force it on top of your app windows is for it to be part of the app. A separate process can't force itself to the front of another.

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.