that is one level to high (file > export). I want a level down (file > export > html>. It does not execute.
Have changed the name of the submenu item to menuFileExportHTML. See below. Nothing happens when clicking?
B4X:
Sub Process_Globals
Private fx As JFX
Private MainForm As Form
Private menuFileClose As MenuItem
Private menuitemFileExportHTML As MenuItem
End Sub
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.RootPane.LoadLayout("1") 'Load the layout file.
MainForm.Show
End Sub
Sub menuFileClose_Action
MainForm.Close
End Sub
Sub menuitemFileExportHTML_Action
Log("Clicked Menu File > Sub Menu Export > Sub Menu Item HTML...")
End Sub
Hmm! I see what you mean. Sorry I didn't read carefully enough and missed the sub-menu. It looks like a Designer LoadLayout initialize bug. menuFileExportHTML seems to have been initialized with its parent name.
You can see this by adding another sub-menu at the level of menuFileExportHTML. Both of them raise an event named menuFileExport_Action.
Hmm! I see what you mean. Sorry I didn't read carefully enough and missed the sub-menu. It looks like a Designer LoadLayout initialize bug. menuFileExportHTML seems to have been initialized with its parent name.
You can see this by adding another sub-menu at the level of menuFileExportHTML. Both of them raise an event named menuFileExport_Action.
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.