Here's some more information about the configuration.
The navigation gallery is populated with a collection with the following fields:
{
Label: String,
Type: String,
TargetScreen: ScreenObject,
OrderIndex: Number,
ContextVars: {}
}It also has the following objects:
Vis_Title (Label) {
Height: 15, Y: 0, Visible: Type = "Title",
Text: Upper(Label), AutoHeight: true
}
Vis_NavButton_Spacing (Rectangle) {
Height: 5, Y: Vis_NavButton.Height, Visible: Type = "Button"
}
Vis_TitleBeforeSub (Label) {
Height: 10, Y: 0, Visible: Type = "TitleBeforeSub",
Text: Upper(Label), AutoHeight: true
}
Vis_Subtitle (Label) {
Height: 12, Y: 0, Visible: Type = "Subtitle",
Text: Upper(Label), AutoHeight: true
}
Vis_NavButton (Label) {
Height: 40, Y: 2, Visible: Type = "Button",
Text: Label,
OnSelect: If( ThisItem.TargetScreen = STD_ViewResponseScreen,
Navigate(
STD_ViewResponseScreen,
ScreenTransition.None,
ThisItem.ContextVars
),
Navigate( TargetScreen, None, {LoadingIsVisible: true})
) // It's set this way bec. context vars. don't get passed unless
// the screen object is explicitly referenced.
}The responses gallery is a tad more complicated. I'll post it on demand.