Change Font ReadOnly Property

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 1 year and 4 months 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
Scott Rosenbloom
Posts: 14
Last visit: Thu Feb 22, 2024 7:41 am

Change Font ReadOnly Property

Post by Scott Rosenbloom »

Hey All,

Italicsand Bold are "readonly" properties for buttons. Is there any way to change that? When a button is not available, I'd like the font of the button to be italicand not bold (and the opposite when it is available).

Thanks,
Scott
User avatar
Alexander Riedel
Posts: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

Re: Change Font ReadOnly Property

Post by Alexander Riedel »

[Topic moved by moderator]
Alexander Riedel
SAPIEN Technologies, Inc.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Change Font ReadOnly Property

Post by jvierra »

You have to change the font. Create each font you need and change the font as needed.
This topic is 1 year and 4 months 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