B4J Question B4J 3.50 How to add menu items - Internal Designer

Discussion in 'B4J Questions' started by tdocs2, Jul 25, 2015.

  1. tdocs2

    tdocs2 Well-Known Member Licensed User


    Thank you in advance for answering my question.

    I see in the Internal Designer under Menu Bar, that I have to add a JSON string for the menu items.

    1. I do not know JSON.
    2. How to generate events for each of the menu items?
    3. Is there an example that I could follow?

    Or is the alternative to create a pane with labels for each top menu selection and sub-menus appearing as listviews? In effect, creating a Menu System Object...

  2. tdocs2

    tdocs2 Well-Known Member Licensed User

    I found this in the Internal Designer:

    "_File", Children:
    "_Export", Children: ["Zip File""Tar File"]},
        {Text: "_Edit", Children:[] },
        {Text: "_Help", Children:
                {Text: "Checked Item", Selected: True},
                {Text: "Disabled Item", Enabled: False},
                {Text: "Item With Unique Event Name",
                    EventName: "mnu1234"},
                {Text: "Item With Tag", Tag: "MyTag"}
    What is the name of the sub _Save to capture the Save event?

    Thank you
    Last edited: Jul 25, 2015
  3. Erel

    Erel Administrator Staff Member Licensed User

  4. tdocs2

    tdocs2 Well-Known Member Licensed User

    Thank you, Erel.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice