79589433

Date: 2025-04-23 20:13:55
Score: 1.5
Natty:
Report link

Another solution to remove the focus from a VCL control is DeFocusControl:

procedure TSomething.XTrackBarEnter(Sender: TObject);
begin
   DefocusControl(XTrackBar, True);
end;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: hahn7