web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / 2 galleries with moder...
Power Apps
Answered

2 galleries with modern tablist

(0) ShareShare
ReportReport
Posted on by 19

Hi all,

trying to use the same space for 2 different galleries

thought about using tab list for that method

put those 2 galleries in 2 groups and use a variable on the visible property on each one

i dont know how to leverage to collection on the tablist to activate the set function

 

or if you have other idea - bless you

Categories:
I have the same question (0)
  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @lspmaster😊

     

    You don't necessarily need a variable to control the gallery visibility, you can also achieve this by referencing the Tab List directly. Let's say you have a Tab List called 'TabList' with 2 tabs (A & B). We want to show gallery A when tab A is selected and vice versa for gallery B.

     

    We can achieve this via the following code:

    //Gallery A Visible property
    TabList.Selected.Value = "A"
    
    //Gallery B Visible property
    TabList.Selected.Value = "B"

    Change the code accordingly to your use case & control names.

     

    If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.

    Thanks!

  • lspmaster Profile Picture
    19 on at

    amazing! - thankyou very much

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard