NSB.ShowProgress not showing

Function CarStockTakeButton_onclick()
  NSB.ShowProgress("Loading stocktakes...")
End Function

I use the ShowProgress numerous places in my code and it works everywhere except a few places. I wondered if a function somewhere else was closing it but the above code doesn’t work. Is there any tricks pertaining to ShowProgress I should know?

There aren’t any tricks that I know of.

Can you make a sample which shows this happening?