Found an access violation error. I had been using this since I asked a question back in June “Brightness Scale Question”.
–This causes AV–
procedure TfrmStylePreview.smMainAfterChange(Sender: TObject);
begin
frmStyleSelect.tkbrBrightness.Min := smMain.CommonSkinData.BrightMin;
frmStyleSelect.tkbrBrightness.Max := smMain.CommonSkinData.BrightMax;
end;
–AV points to–
function TacSkinData.BrightMax: integer;
begin
Result := TsSkinManager(FOwner).SkinCommonInfo.BrightMax;
end;
function TacSkinData.BrightMin: integer;
begin
Result := TsSkinManager(FOwner).SkinCommonInfo.BrightMin;
end;