cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

TOGGLE

New to PowerApps.

Want to use "Toggle" under Input.

When toggle is changed, an icon becomes visible (plane) to indicate flight arrangements need to be made. 
I know this is a simple request...any assistance will be greatly appreciated.

 

Thanks! 

3 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Super User III
Super User III

Re: TOGGLE

Hi @chudson002 ,

I will call it Toggle1 (change to your control name). Set the Visible property of the Icon you want to show/hide to 

Toggle1.Value

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

Highlighted
Community Support
Community Support

Re: TOGGLE

Hi @chudson002 ,

 

The Toggle control returns Boolean Value, so If you want the plane icon to be visible when the toggle is toggled on, please modify the Visible property of Plane Icon to ToggleName.Value. 

Conversely, set the visible property to !ToggleName.Value.

Hope this helps.

Sik

 

View solution in original post

Highlighted
Super User III
Super User III

Re: TOGGLE

Thanks @v-siky-msft for confirming my logic.
@chudson002 , from your specs, you wanted "when the toggle was changed" - I assume when turned on, which has the Visible property of

Toggle1.Value

If you want the toggle off and the icon to be visible, use

!Toggle1.Value

(the opposite value of the toggle).

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

4 REPLIES 4
Highlighted
Super User III
Super User III

Re: TOGGLE

Hi @chudson002 ,

I will call it Toggle1 (change to your control name). Set the Visible property of the Icon you want to show/hide to 

Toggle1.Value

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

Highlighted
Community Support
Community Support

Re: TOGGLE

Hi @chudson002 ,

 

The Toggle control returns Boolean Value, so If you want the plane icon to be visible when the toggle is toggled on, please modify the Visible property of Plane Icon to ToggleName.Value. 

Conversely, set the visible property to !ToggleName.Value.

Hope this helps.

Sik

 

View solution in original post

Highlighted
Super User III
Super User III

Re: TOGGLE

Thanks @v-siky-msft for confirming my logic.
@chudson002 , from your specs, you wanted "when the toggle was changed" - I assume when turned on, which has the Visible property of

Toggle1.Value

If you want the toggle off and the icon to be visible, use

!Toggle1.Value

(the opposite value of the toggle).

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Highlighted
Helper II
Helper II

Re: TOGGLE

Worked Like a Charm - Outstanding!!!

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,765)