cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
shaneOZ
Level 8

Make a popup if Gallery item is selected

Hi,

 

In my app there is several nested galleries with three buttons in each gallery (OK, N/A and Defect)

 

Id like for everytime the user selects Defect for an image to show, however i cannot figure out the onvisible code for this?

 

currently the best i have is the following and both do not work

 

ServiceBrakeList.Selected = {ServBrakCHK:"Defect", IsClicked:false}

ServiceBrakeList.ServBrakCHK = {ServBrakCHK:"Defect"}

 

Anyhelp?

1 ACCEPTED SOLUTION

Accepted Solutions
Fatih1
Level: Powered On

Re: Make a popup if Gallery item is selected

Set(popup; if(YourItem.Selected.Value = "Defect");

 

So Make a rectangle with visible = popup. 

 

 

 

View solution in original post

4 REPLIES 4
Fatih1
Level: Powered On

Re: Make a popup if Gallery item is selected

Set(popup; if(YourItem.Selected.Value = "Defect");

 

So Make a rectangle with visible = popup. 

 

 

 

View solution in original post

shaneOZ
Level 8

Re: Make a popup if Gallery item is selected


@Fatih1 wrote:

Set(popup; if(YourItem.Selected.Value = "Defect");

 

So Make a rectangle with visible = popup. 

 

 

 


Cheers i couldnt quite figure it out, i was looking at it with tired eyes. TY

 

Its the bottom one

 

If(SteeringGal.Selected.SteeringCHK = "Defect", true)

MrNappa
Level: Powered On

Re: Make a popup if Gallery item is selected

If you want the image to show in the gallery template, you can add an image to the template and set the "Visible" property to "ThisItem.IsDefect" (assuming your collection items have a boolean property 'IsDefect').

shaneOZ
Level 8

Re: Make a popup if Gallery item is selected


@MrNappa wrote:

If you want the image to show in the gallery template, you can add an image to the template and set the "Visible" property to "ThisItem.IsDefect" (assuming your collection items have a boolean property 'IsDefect').


 

Nah its not where i was going, but thankyou for the input. The image idea was just an example to explain the scenario, im just getting it too load a text box with a few words on it 🙂 

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,712)