ProgressBar1.Position is a property, while inc expects a variable.
In case of a property, typically, the compiler provides its value by calling a function, and assigns a new value through a procedure:
TProgressBar = class(TCustomProgressBar)
...
published
...
property Position;
TCustomProgressBar = class(TWinControl)
...
public
...
property Position: Integer read GetPosition write SetPosition default 0;