1. Miller Rhodes
  2. PowerServer 2020 or older (Obsolete)
  3. Thursday, 31 January 2019 20:48 PM UTC

We are moving a Powerbuilder 2017 R3 application into Powerserver.

While doing this, we encountered this issue. 

1. We have an mdi frame window with a status bar that sits in the lower right hand corner. We applied an Appeon workaround that moves the pfc status bar to the right position upon resize or the browser window is maximized.

2. If the browser is not maximized and you move the window around the screen, the status bar hangs in the last position and does not move with the browser.

3. Resizing the window makes it snap back into position.  The status bar is inherited from w_popup

4. It looks like the pbm_move event is not firing when deployed to the web.  Alternatives ?

Is there an event that fires when the browser window is relocated or does anyone have a solution for this ?

 

 

Roland Smith Accepted Answer Pending Moderation
  1. Saturday, 2 February 2019 02:38 AM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 1

I noticed this same thing back when PFC first came out with PB5.

What really should be done is calling the Windows SetParent API function to make the window owned by the microhelp bar.

I have an example of this process, someone just needs to revamp the PFC window.

http://www.topwizprogramming.com/freecode_statbar.html

 

Comment
  1. Miller Rhodes
  2. Wednesday, 6 February 2019 03:39 AM UTC
Thanks for the help. Unfortunately, this didn't work in Powerserver. The 'Move' event doesn't fire when the browser moves
  1. Helpful
There are no comments made yet.
sean flynn Accepted Answer Pending Moderation
  1. Thursday, 18 April 2019 19:00 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 2

We are also hitting this issue. It makes sense that the "move" event is not fired when the browser window itself is moved because PB MDI Frame window is not moving relative to it's parent (the browser). It would be cool if Appeon allowed a different (new) event to flow through indicating the browser position was changed.

I'm just curious how others have dealt with this issue? Have you simply abandoned the status bar? Or have you implemented some other technique such as embedding a control on the frame surface?

TIA

Comment
There are no comments made yet.
Miller Rhodes Accepted Answer Pending Moderation
  1. Tuesday, 23 April 2019 21:20 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 3

Hi Roland,

 

Is this a Powerserver solution?  Maybe I'm implementing it the wrong way 

Comment
  1. Roland Smith
  2. Wednesday, 24 April 2019 01:53 AM UTC
I don't use PowerServer so I don't know if it works.
  1. Helpful
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.