Delphi TButton How to make Delphi TButton control stay pressed?
https://stackoverflow.com/questions/46934591/how-to-make-delphi-tbutton-control-stay-pressed Vcl.Themes, Vcl.Styles ; StyleAPI StyleElements FInternalImageList TSeStyle procedure TSysStyleHook.UpdateColors; begin if (OverrideEraseBkgnd) or (OverridePaint) then Color := StyleServices.GetStyleColor(scWindow) else Color := clBtnFace; if OverrideFont then FontColor := StyleServices.GetSystemColor(clWindowText) else FontColor := clBlack; end; procedure TSysStyleHook.SetStyleElements(Value: TStyleElements); begin if Value <> FStyleElements then begin FStyleElements := Value; OverridePaint := (seClient in FStyleElements); // OverrideEraseBkgnd := OverridePaint; OverridePaintNC := (seBorder in FStyleElements...