B4J Question ? Menu bar configuration

GMan

Well-Known Member
Licensed User
Longtime User
How can i use the original code given by B4J after adding a menu bar ?

B4X:
[
    {Text: "_File", Children:
        [
            "_Neu", "_Sichern",
            {Text: "_Export", Children: ["Zip File", "Tar File"]},
            "-",
            "_Beenden"
        ]
    },
    {Text: "_Setup", Children:[] },
    {Text: "_Hilfe", Children:
        [
            {Text: "Checked Item", Selected: True, Shortcut: {Key: "F1"}}, 
            {Text: "Disabled Item", Enabled: False},
            {Text: "Item With Unique Event Name",
                EventName: "mnu1234"},
            {Text: "Item With Tag", Tag: "MyTag"}
        ]
    }
]

Mean, how can i check a click on i.e. Close (Beenden) ?
 
Top