Sub Page_NavigationbarClicked(Action As String, Value As String)
page.SaveNavigationBarPosition
If Action = "LogOff" Then
ABMShared.LogOff(page, ABMShared.AppName)
Return
End If
If Action = "Help" Then ' Open a modalsheet with specific help topics...
Dim pgn As String = page.Name
If ABMShared.FindHelp(ws,pgn) Then ' findhelp looks up page name in my DB and returns true if help topic was found
' Show modal sheet with help... (or, as in my case, open the associated PDF in new tab)
Else
myToastId = myToastId + 1
page.ShowToast("my"&myToastId,"toastred","Sorry - Specific Help Topic Not Found",5000)
End If
Return
End If
ABMShared.NavigateToPage(ws, ABMPageId, Value)
End Sub