'Code module
Sub Process_Globals
'These global variables will be declared once when the application starts.
'Public variables can be accessed from all modules.
Public App As Application
Public NavControl As NavigationController
Private Page2 As Page
End Sub
Public Sub Show
If Page2.IsInitialized = False Then
Page2.Initialize("pg")
Page2.RootPanel.LoadLayout("Page2")
Page2.Title = "HbA1c in mg/dl"
Page2.Prompt = Main.GespeicherterName
Main.NavControl.ToolBarVisible = True
End If
Main.NavControl.ShowPage(Page2)
End Sub