Disabled Button Color

Ask your PowerShell-related questions, including questions on cmdlet development!
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.
Post Reply
Posts: 7
Joined: Thu Oct 08, 2020 3:08 pm

Disabled Button Color

Post by bill-douse »

Hello All,

Product: PowerShell Studio 2020 (64 Bit)
Build: v5.7.181
OS: Windows 10 Pro (64 Bit)
Build: v10.0.18363.0
PSVersion: 5.1.18362.752

Forgive me if this question is silly or been answered a bazillion times. I spent quite a bit of time Google'ing and searching PS Studio forums for an answer with no results. That said, is it possible to change the Disable Button color in Powershell? I ask because the PS Studio Forms Project I am working on does not seem to provide such a capability. The font size and color set I am using results in a disable button color that is indistinguishable from the enabled button color.

Thanks for your patience with us noobs.

-Bill D.

Posts: 14573
Joined: Tue May 22, 2007 9:57 am
Answers: 1
Been upvoted: 1 time

Re: Disabled Button Color

Post by jvierra »

Simple. Just set the backcolor property of the button or almost any other control.

Post Reply