1. Jan Kopal
  2. PowerBuilder
  3. Friday, 12 April 2019 12:13 PM UTC

Hello,

how Powerbuilder desides, in which menu to display list of opened sheets?

We have MDI application with a standard menu (File, Actions, Window, Help). List of opened sheets was in menu Window. We added one item to the right of the menu (File, Actions, Windows, Help, Modules). Now, list of opened sheets is displayed under Help menu and we don't know, how to change it. 

It looks like the list always appears in the second menu from the right...

Thank you for your response...

J.Kopal

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 12 April 2019 20:05 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Jan;

  When using the OpenSheet() or the new OpenSheetXxxxxx() commands - always set the position argument to Zero (0) to allow the menu position to follow MS-Windows standard - which is the 2nd menu from the far right-hand side.

For example:

My_Window   lo_wn

OpenSheet (lo_win, "My Window", MDI_Frame,  0, Layered!)

HTH

Regards ... Chris

Comment
There are no comments made yet.
Jan Kopal Accepted Answer Pending Moderation
  1. Monday, 15 April 2019 05:24 AM UTC
  2. PowerBuilder
  3. # 1

Thank You, it helped!

JK

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Friday, 12 April 2019 12:35 PM UTC
  2. PowerBuilder
  3. # 2

Look at the help for the OpenSheet function. The argument 'position' is the one you want.

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.