I am using a Gallery as tab navigation and I have a simple scenario where I want to navigate to a specific tab when I click a button...all on the same screen.
My gallery collection is as follows:
ClearCollect(HomeActionCollection, Table({Name:"Create Request"},{Name:"Your Requests"});
I set a variable OnStart to identify which tab to select first:
Set(HomeActionSelected,"Create Request")
I set the Gallery default as follows:
Gallery.Default = LookUp(HomeActionCollection, Name=HomeActionSelected)
...shows the first item onStart...
I have a button click that does:
Set(HomeActionSelected,"Your Requests")
...The Gallery item is not selected.
How can I make this work?