Show hint on disabled controls
If a control is disabled (Enable = False) then the mouseover hint is not shown. Add new propertys
DisabledHint and ShowDisabledHint .
carlo sirna commented
I'd push the idea a bit forward:
1) add a TControl.Disable(reason:string) method
2) Create a standard visual indicator, for disabled controls, that makes clearly visible that the programmer has provided an explaination for the reason for which the control has been disabled.
For example once I have seen a "printer properties" configuration dialog that did show a little question mark icon overlapped to all controls that were disabled. Hovering the mouse on that question mark did show a detailed explaination about the reason for the button being disabled.
Roland Bengtsson commented
It should be enough with property ShowDisabledHint. If true then Hint should be used.