Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Replacing the existing menu with an empty one – PB Docs 2019 – PowerBuilder Library

Replacing the existing menu with an empty one – PB Docs 2019

Replacing the existing menu with an empty one

After the RibbonBar is applied, the previous menu will no
longer be used in the application. You can create an empty menu and
assign it to the MDI window, as a menu is required for all MDI frame
windows (the MenuName property for the MDI window must be
set).

  1. Use New > PB Object > Menu to create a new menu
    object. It is unnecessary to define any menu item for the menu
    or attach any script to it. If you do add a menu item, make sure
    the item shall be set to invisible.

  2. Assign the empty menu to the MDI window.

In the Sales Demo application, we created the menu object
m_mdi_none and assigned it to the MDI window. The menu object
contains one main menu and one submenu. Note that the submenu item
is set to invisible.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x