Hi,
create a global variable to store the current tab
1. OnVisible of each screen
UpdateContext({selectedTabIndex: 1}); // Set it to the appropriate index of each screen
2. OnStart of the app
If(
Not(IsBlank(selectedTabIndex)),
Switch(
selectedTabIndex,
1, Navigate(Screen1, None),
2, Navigate(Screen2, None),
// Add more cases for each screen/tab
)
)
Just in case my answer helped you solve your problem, please mark/accept this as a SOLUTION. This helps community members if they experience a similar issue in the future. |