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 / Gallery and form visib...
Power Apps
Unanswered

Gallery and form visibility

(0) ShareShare
ReportReport
Posted on by 599

Hi,

In my app am using tab control for add and edit like following,

P1.png
When i click Edit tab I need to hide Add tab form.. Its hide okay .. Working fine.....

 

But now i want is when i click a Edit tab i need show only a gallery.. After that when i am clicking a gallery form will show and gallery will hide.

 

P1.png

while we editing a form gallery will hide and display only form. After editing we will back to gallery form will be hidden.

 

How to do this?

 

Is it posiible?

 

Thanks,

Dhinesh

 

 

 

Categories:
I have the same question (0)
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Your description is confusing so i can't tell you exactly what to do. But play around with Visible property of all of them. and you'll reach your goal

  • Dhinesh28R Profile Picture
    599 on at

    Hi @zmansuri,
    This is my Edit tab control,

    P1.png

     

    When i click a value in gallery it will show in following form,
    P1.png

     

    Now what is my question is how to hide gallery while Display form.

     

    At a same time am using following visibility function in gallery for tab control,
    If(Gallery3.Selected.Value="Edit",true)

     

    This is what i need .

     

    Thanks,

    Dhinesh

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    If you want either gallery or form to visible. And not both of them together.

    Write on your form's visible property:

    !Gallery3.Visible

     

    In this scenario. Only one of them will be on screen at one time

  • Dhinesh28R Profile Picture
    599 on at

    I don't want both of them together.

    I just only one to visible either gallery or form.
    My question when i click a gallery's next arrow button that form will be visible and Gallery must be hide.

    This is what i need

     

    Thanks,

    Dhinesh

     

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    !Gallery3.Visible

     

    That's what i said. Notice the "!" before code. It will always set the opposite value.

    So let's say you set in on form's visible property. 

    Your gallery's visible property will be "true"

    Your form's visible property will be "!Gallery3.Visible" which is false.

  • Dhinesh28R Profile Picture
    599 on at

    Okay man, I did with set a variable and set it to visible property ..

    Now it is working fine for my scenario man.

     

    Thanks,

    Dhinesh

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard