I want to gray out without changing ForeColor when RadioButton is Enabled=False

Asked 2 years ago, Updated 2 years ago, 97 views

  • What do you want to do
    VB.NET (VisualStudio 2005) is renovating the existing system.
    When I set RadioButton to False, I want to gray out without changing the character color (ForeColor).(Image below)
    ·Enabled=True
    RadioButton Enabled=True
    you want to achieve ·Enabled=False
    RadioButton Enabled=False

  • Problems you are having
    When the RadioButton property is set to Enabled=False, the character color changes.(Image below)
    ·Enabled=True
    Enter a description of the image here
    ·Enabled=False
    Set RadioButton to Enabled=False

WHAT YOU WANT TO DO
VB.NET (VisualStudio 2005) is renovating the existing system.
When I set RadioButton to False, I want to gray out without changing the character color (ForeColor).(Image below)
·Enabled=True
RadioButton Enabled=True
you want to achieve ·Enabled=False
RadioButton Enabled=False

you want to achieve

Problem you are having
When the RadioButton property is set to Enabled=False, the character color changes.(Image below)
·Enabled=True
Enter a description of the image here
·Enabled=False
Set RadioButton to Enabled=False

vb.net

2022-09-30 19:18

1 Answers

Stick the label over the RadioButton text to solve this problem


2022-09-30 19:18

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.