I have a component named cmptabnavigaton that I created to manage a tab like navigation.
The component has the following custom properties:
TabNav Table = Table({Id:1, Label:"Tab 1"}, {ID:2,Label:"Tab 2"})
TabNavVar Output = varTabSelected.ID
The component includes a gallery where I have a button to serve as the tabs.
The gallery items = cmptabnavigation.tabnav
gallery button Onselect = Set(varTabSelected,cmptabnavigation.TabNav.ID)
Error message for TabNavVar is Expected text value.
Expected result is I am able to pass the TabNavVar Output into my app which should be a number. Then within the visibility settings I will be able to control which fields on the form show based on the tab the user is on.
I am trying to essentially replicate this but in a component manner for re-use and tons of screens.
https://www.youtube.com/watch?v=KjUJZr5Vn_Y&t=489s can start at 4:40