ColorDialog

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 6 years and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
StillLearning
Posts: 39
Last visit: Tue Apr 10, 2018 9:39 pm

ColorDialog

Post by StillLearning »

Looking at how I can change the forecolor of every label in my form. I don’t see how this is possible hence asking on the forum.

I’m essentially wanting to create a light and dark mode for my application.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: ColorDialog

Post by jvierra »

This is not directly possible with WinForms without external components. It can be done with C# with some fairly tricky coding.

Full theme support at the application level is part of WPF forms.
User avatar
StillLearning
Posts: 39
Last visit: Tue Apr 10, 2018 9:39 pm

Re: ColorDialog

Post by StillLearning »

Hi! Thought so. Hears to writing more code :D
This topic is 6 years and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked