Get current position of AdvCircularProgress

In runtime the AdvCircularProgress1.Position always return 0.


How to get current position of the TAdvCircularProgress?

When do you check Position?
If AdvCircularProgress is in continuous animation, Position is not used internally.
When you set AdvCircularProgress.Enabled = false for programmatic stepping, the value set can be read back.

I want to make AdvCircularProgress at least one complete cycle. 


When finished my process I intend to run this code like this to do so:

:
:
While AdvCircularProgress1.Position < 13 Then Begin
     Application.ProcessMessages;
     Sleep(100);
End;
:
:

I suggest you create a property to read the current position even when it is in continuous mode.

Thank you.



Correct example code:


:
While AdvCircularProgress1.Position < 13 DO Begin
     Application.ProcessMessages;
     Sleep(100);
End;
:
: