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 / Using toggle as a them...
Power Apps
Answered

Using toggle as a theme changer

(0) ShareShare
ReportReport
Posted on by 13

Hello!

 

I'm trying to use the toggle control to switch between two screens and as the subject suggests one is white theme and the other is dark theme. 

 

I have those two screens ready but the problem is how connect these two via toggle? The idea is that when the user clicks the toggle switch the screen switches to the dark themed screen and when he/she clicks it again back to the original position, the screen switches back to the white themed screen. 

 

Is this at all possible because I have no idea how to make it happen. I've tried making these two screens "false" and "true" values onChange but no luck. 

 

Thank you for all the suggestions in advance and I'm deeply sorry if I couldn't explain the situation comprehensibly enough.

Categories:
I have the same question (0)
  • Verified answer
    Shanescows Profile Picture
    2,218 Most Valuable Professional on at

    This should work. 

     

    OnCheck = Navigate(LightScreen,Cover)

    OnUnCheck = Navigate(DarkScreen,Cover)

  • mhyvarinen Profile Picture
    13 on at

    Thank you so much, it worked perfectly! Only thing i had to change was a semicolon between darkscreen and cover, like this:

     

    Navigate(DarkScreen; Cover) 

     

    Then it worked for me 🙂 

     

    I feel so honored you of all people chose to reply on my post. I've been watching your powerapps tutorials for quite some time now since I have a powerapps based project at work and they have been most helpful! 

     

    Thanks again for your assistance and keep up the good work! 

  • Shanescows Profile Picture
    2,218 Most Valuable Professional on at

    awe shucks.jpg

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 883

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 477

Last 30 days Overall leaderboard