RRUZ / vcl-styles-utils

Extend and improve the Delphi VCL Styles
https://theroadtodelphi.wordpress.com/
329 stars 115 forks source link

NCButton setting Enabled is not updated until mouse hover #278

Open Delphichem opened 4 years ago

Delphichem commented 4 years ago

If you change Enabled to False or True, the control is not updated until mouse hovered. In procedure TNCControl.SetEnabled(const Value: Boolean); begin if Value <> FEnabled then begin FEnabled := Value; FNCControls.Invalidate; // Add this end; end;