I have not seen it myself, but while investigating a bug report there ocurred to be a problem with the TUpDown control in MacOs.
Here is the snippet:
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ComCtrls, StdCtrls;
type
{ TForm1 }
TForm1 = class(TForm)
Label1: TLabel;
UpDown1: TUpDown;
procedure FormCreate(Sender: TObject);
procedure UpDown1Click(Sender: TObject; Button: TUDBtnType);
private
public
end;
var
Form1: TForm1;
Indication : integer = 0;
implementation
{$R *.lfm}
{ TForm1 }
procedure TForm1.UpDown1Click(Sender: TObject; Button: TUDBtnType);
begin
if (Button = btNext)
then inc(Indication,1)
else dec(Indication,1);
Label1.Caption := IntToStr(Indication);
end;
procedure TForm1.FormCreate(Sender: TObject);
begin
Label1.Caption := IntToStr(Indication);
end;
end.
When the Up button is held, initially
Indication increases. But after it reaches (or exceeds) 100, it starts decreasing.
The issue is not observed on Windows and Linux (Mint Mate).
It was reported on MacOs El Capitan, but AFAIU it was observed also on another MacOS version, I will add this info when available.
The executable was built with Lazarus 4.2.