Hi,
I'm creating a custom component that I will use as a footer for my apps, with buttons to navigate throu screens.
Instead of making buttons, I watched a video (I can't find it anymore) in which a horizontal gallery is used, populated with icons.
Could be possible?
If so, when I use the component in my app how can I set the component button to open a specific screen?
Thanks
Thanks! after some hour of search i found a solution, that's similar to yours. Thank you again
Hi @diegomarino ,
I am not sure about the video you are talking about.
But yes you can navigate through screens using your custom component.
Below is how I created a small working component to navigate through screens:
Step 1: Create a Custom Component (I have created screens menu with a gallery control)
Step 2: Your component contains a Gallery and its Items property will hold a collection of Table -> loaded at Start of your App.
Step 3: In this collection, you can enter name, icon, Screen, visibility condition, etc as property of each value.
// I created like this
ClearCollect(
colScreenDetails,
Table(
{
ID: 1,
Name: "Home Page",
Screen: 'Main Screen',
Icon: Icon.Home
},
{
ID: 2,
Name: "Accounts",
Screen: 'Accounts Screen',
Icon: Icon.Database
}
)
)
For Gallery OnSelect,
Navigate(Gal_Menu.Selected.Screen);
You will be navigated to that screen.
Make sure you have named the screens correctly to work with.
Just a simple idea how it will work, you can modify as per requirement.
Hope this helps
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
mmbr1606
275
Super User 2025 Season 1