1. mathews rutto
  2. PowerServer 2020 or older (Obsolete)
  3. Tuesday, 17 December 2019 13:54 PM UTC

Hello,

I am running a web application using Powerser and Powerbuilder2019 as my IDE.

How do i enable MDI window to have scroll bars on web browser?

Thank you in advance.

with kind regards,

Mathews

John Fauss Accepted Answer Pending Moderation
  1. Monday, 23 December 2019 15:29 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 1

Hi, Matthews -

It might be helpful to you to spend a few minutes to review the capabilities of the Multiple Document Interface (MDI) frame window, sheet windows and how they interact. Here's a link to a concise overview:

https://docs.appeon.com/appeon_online_help/pb2019/application_techniques/ch05.html

Regards, John

Comment
There are no comments made yet.
Marco Meoni Accepted Answer Pending Moderation
  1. Monday, 23 December 2019 09:03 AM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 2

Hi Mathews,

1) in w_main properties, make sure that WindowType is "mdi!";
2) in w_find_statement properties, make sure that WindowType is "main!"
3) in open event of w_main call OpenSheet(w_find_statement properties, this, 1, Layered!)

Best,
.m

P.S.
Regarding your "I have StaticHyperLink in w_main": a MDI window (w_main) should be empty.

Comment
  1. mathews rutto
  2. Monday, 23 December 2019 09:20 AM UTC
Thank you for your response,



I want ot make w_fund_statement 'mdi' because, for window type 'main' it is poping up on browser frame tab, but mdi it stick within browser frame.
  1. Helpful
  1. Marco Meoni
  2. Monday, 23 December 2019 09:36 AM UTC
it is not "popping up on browser frame tab" if you use opensheet.

Best,

.m
  1. Helpful
There are no comments made yet.
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Monday, 23 December 2019 08:57 AM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 3

Hi Mathews,

Please open a support ticket in the support portal and please provide a test case, Many thanks in advance.

https://www.appeon.com/standardsupport/

Regards,
ZhaoKai

Comment
  1. mathews rutto
  2. Monday, 23 December 2019 09:21 AM UTC
Thank you, i will do just that.
  1. Helpful
There are no comments made yet.
mathews rutto Accepted Answer Pending Moderation
  1. Monday, 23 December 2019 08:35 AM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 4

Hello,

I have updated PowerServer2019 to build 2151, but i can not still scroll.

And i just set MDI window (w_find_statement) to use horizontal & vertical scroll bars in the Window Painter's properties pane.

@Zhao Kai

i have StaticHyperLink in w_main, when a user link on it, it open w_fund_statement.

Now i want w_fund_statement to have scroll bars on the browser, also remember both w_main and w_fund_statement are both MDI.

According to your response, how do i open window with openSheet?

Thank you !

 

 

Comment
  1. Chris Pollach @Appeon
  2. Monday, 23 December 2019 16:41 PM UTC
Hi Hi Mathews;

Like in a native PB application - you cannot have two MDI Frame windows open at the same time. The same for a PS Web application. So you would now have two choices...

1) Close the current MDI Frame window and then open the 2nd second one (within the same App).

2) Use the iNet object to open the 2nd MDI Frame as a separate Web App (new Tab Page or browser instance).

Regards ... Chris
  1. Helpful
  1. mathews rutto
  2. Tuesday, 24 December 2019 14:29 PM UTC
Thank you for youe response.

I have done as you advice and it has work, however i can't still scroll on my mdi frame dispite checking vertical and horizontal scroll.



Then in addition i have created a small window for w_member_search with window type 'main'. But the problem i am having is that, when i open a new tab to browse other things the w_member_search window is still open.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Tuesday, 24 December 2019 16:13 PM UTC
Hi Mathews ... remember, if you open your sheet(s) in "Layered!" mode the scroll bars will *not* appear as the MDI Frame will resize the sheet to the frame automatically. Its only when you manually resize the sheet, cascade or tile all the sheets AND then resize the MDI Frame (ie Browser window) will the scrollbars appear if the frame is smaller than the current set of sheets.

HTH ... Chris
  1. Helpful
There are no comments made yet.
mathews rutto Accepted Answer Pending Moderation
  1. Wednesday, 18 December 2019 18:09 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 5

@Miguel Leeuwe ,

I am using firefox.

I want to update my powerserver to build 2151 then test with it.

Comment
  1. Miguel Leeuwe
  2. Wednesday, 18 December 2019 18:51 PM UTC
Ok, it was just to see if there might be a difference. Cannot test myself right now, sorry.
  1. Helpful
  1. Miguel Leeuwe
  2. Wednesday, 18 December 2019 19:01 PM UTC
See Chris' comment: he's already tried it on Firefox. It should work, so no need to test :)
  1. Helpful
  1. Miguel Leeuwe
  2. Wednesday, 18 December 2019 19:02 PM UTC
Maybe you have to empty your 'cache' or something similar. Others who know more about this than me, might help you out.
  1. Helpful
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Wednesday, 18 December 2019 08:04 AM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 6

Have you tried a different browser?

Chris seems to be using Chrome and you seem to be using Firefox?

HIH

Comment
  1. Armeen Mazda @Appeon
  2. Wednesday, 18 December 2019 17:33 PM UTC
FireFox is also supported well by PowerServer... we just frequently show Chrome because Chrome is a more popular browser. But anyway, doesn't hurt to double check just in case something is corrupted about the FireFox install.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 18 December 2019 18:58 PM UTC
Hi Armeen;

FYI: Scroll bars on the MDI Frame work for me in all the latest versions of IE, Edge, Chrome, Opera, FF and even IWA (installable Web Apps).

Regards ... Chris
  1. Helpful
There are no comments made yet.
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 18 December 2019 00:16 AM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 7
 

Hi Mathews,

Please try to solve this issue by follow steps below.

1 Open the MDI window in PB IDE, and go to Properties > Scroll tab to checked both HScrollBar and VScrollBar opention.
2 Using opensheet to open window object.

Then a scrollbar would show when the window contents over the browser size.

Regards,
ZhaoKai

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 17 December 2019 16:13 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 8

Hi Matthews;

  That works for me (tested using PS 2019 - build 2151) ...

Regards ... Chris

Comment
There are no comments made yet.
mathews rutto Accepted Answer Pending Moderation
  1. Tuesday, 17 December 2019 15:52 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 9

Hello,

Thank you for the response.

I have just setup the way you have said but no scroll bars still on the browser.

Kindly find attached screenshot from my application and guide me where i am going wrong.

with kind regards,

 

Attachments (3)
Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 17 December 2019 15:24 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 10

Hi Mathews;

  Just set your MDI Frame window to use horizontal & vertical scroll bars in the Window Painter's properties pane.

Regards ... Chris

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.