i needed one « stShowTruncNumProgress » (others name are welcome) to show progress trough a list of number with progressBar and one truncated list if needs.
I use a function getMyref(nbMax,CurNum)
put getMyref(2134,7) return "1…678…2134" and "7" looks textstyle "Box"
put getMyref(2134,2133) return "1 … 2132 2133 2134" and "2133" looks textstyle "Box"
put getMyref(2134,3)return « 1 2 3 4 … 2134 » and "3" looks textstyle "Box"
We can refresh progressbar and line of numbers with
1. clic on btn "bSetNumElementBar" or type return
2. clic on "…" or a number of numbers line
3. clic on progressbar (this works fine, except that it is not easy to select nbMax if nbMax > 200)

I feel that we can find simpler way to do the same

Here is the stack
Best regards
Jean-Marc