Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NCButton setting Enabled is not updated until mouse hover #278

Open
Delphichem opened this issue Sep 11, 2020 · 0 comments
Open

NCButton setting Enabled is not updated until mouse hover #278

Delphichem opened this issue Sep 11, 2020 · 0 comments

Comments

@Delphichem
Copy link

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;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant