I think it does but the change is extremely subtle. Change the Forecolor to White and you will see the difference between Enabled and disabled
EDIT : This is not the case. Since the AnalogValueDisplay overrides the colors based on limit values, it will not dim it out when disabled. You can modify the code to do it.
How does a basicbutton do the grey out? How Can I modify the code of pilotlight to grey out the way basic button does ignoring the in or out of limits of pilot light?
The code for basicbuttin enabled is this:
Private m_PLCAddressEnabled As String = ""
<System.ComponentModel.DefaultValue("")>
<System.ComponentModel.Category("PLC Properties")>
Public Property PLCAddressEnabled() As String
Get
Return m_PLCAddressEnabled
End Get
Set(ByVal value As String)
If m_PLCAddressEnabled <> value Then
m_PLCAddressEnabled = value
'* When address is changed, re-subscribe to new address
SubscribeToComDriver()
End If
End Set
End Property
How does that end up changing the property of greying the control out and siabling it? I want to do the same thing to the pilot light.
Thanks.