I have created a MenuBar and I want to show it to the user after he logins into the page. From what i understood MenuBar can be called only from mainFrame which is shown even before logging in.

Is there another way so that I login and then show the menuBar?

Best Regards, Chris

asked 17 Jul '14, 09:20

chris2014's gravatar image

chris2014
115
accept rate: 0%


Hi Chris,

You can use api_frame.setMenuBar to assign a menubar to a mainframe during runtime. You can also use

api_dialog.setMenuBar to assign a menubar to a dialog.

Kind Regards,
Yalim

link

answered 17 Jul '14, 09:26

Yalim%20Gerger's gravatar image

Yalim Gerger ♦♦
1.8k5
accept rate: 15%

Excellent. Thanks Yalim.

(17 Jul '14, 09:28) chris2014

Hi Chris,

To achieve your request, you can use api_frame.setMenubar API. This API assigns the specified menuBar to the mainFrame.

Hope this helps,
Ibrahim

link

answered 17 Jul '14, 09:28

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5
accept rate: 25%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×2

Asked: 17 Jul '14, 09:20

Seen: 706 times

Last updated: 17 Jul '14, 09:28

Related questions


© Copyright Gerger 2017