@Ditdigita
Sorry, missed the bit about modern control.
I did some testing with a collection:
Collect(
TestTabName,
{Tab: "Tab A"},
{Tab: "Tab B"},
{Tab: "Tab C"},
{Tab: "Tab D"}
)
On the Next arrow:
If(
CurrTab="Tab A", Set(CurrTab, "Tab B"),
CurrTab="Tab B", Set(CurrTab, "Tab C"),
CurrTab="Tab C", Set(CurrTab, "Tab D")
)
On the Prev arrow:
If(
CurrTab="Tab B", Set(CurrTab, "Tab A"),
CurrTab="Tab C", Set(CurrTab, "Tab B"),
CurrTab="Tab D", Set(CurrTab, "Tab C")
)
On the Items property of the TabList:
If(
IsBlank(CurrTab),
Distinct(TestTabName, Tab),
Distinct(Filter(TestTabName, Tab<>CurrTab), Tab)
)
On the OnSelect property of the TabList:
Set(CurrTab, Self.Selected.Value)
On the DefaultSelectedItems property of the TabList:
[CurrTab]
The only problem is that the selected tab will show up only on the last tab. This is my first time playing around with modern control so maybe there's a more simplified version somewhere out there.