I'm not sure if there is a better way to hide the shortcut menu and navigation buttons for the forms. Of the top of my head, one way you can do to store 2 variables in a module that will indicate if those features are enabled or not.
In a module, e.g. basFlags, declare 2 variables.
Code:
Public gEnableShortcutMenu as Boolean
Public gNavigationButtons as Boolean
In the Load event of the splash screen, use the following code.
Code:
Private Sub Form_Load()
'Hide the ribbon
DoCmd.ShowToolbar "Ribbon", acToolbarNo
'Set the flags
gEnableShortcutMenu = False
gNavigationButtons = False
End Sub
Then, in the Click event of your Edit button, use the following code.
Code:
Private Sub CmdEdit_Click()
DoCmd.ShowToolbar "Ribbon", acToolbarYes
gEnableShortcutMenu = True
gEnableNavigationButtons = True
'This affects the current form
Me.ShortcutMenu = gEnableShortcutMenu
Me.NavigationButtons = gEnableNavigationButtons
End Sub
In the Load event of all other forms, use the following code.
Code:
Private Sub Form_Load()
Me.ShortcutMenu = gEnableShortcutMenu
Me.NavigationButtons = gEnableNavigationButtons
End Sub