The indeterminate progress bar doesn't appear

Hi,

I placed an indeterminate progress bar in a form, initially set to “Not Visible.”
During program execution, I press a key to make it visible (myform.myprgbar.visible = True), but it doesn’t appear. I also tried writing myform.myprgbar.refresh, but it has no effect.
However, if I initially set it to visible, it does appear.
What strange mystery can I not understand?

Thanks

Try making it 1 pixel wider, to trick it into refreshing internally?

Hi Graham,

Unfortunately, it didn’t produce any results. I think it’s a bug.

Hi @GUERINO_IANDIORIO

Is it possible to upload a zip of your project here? Or a simple project showing the problem?

Create a sample project that shows this, zip it, upload to your post.
The standard questions:
Xojo version?
Windows 10 or 11? (not sure if there should be a difference)

I tried to reproduce it but it does work normally here.

Are you sure you set the control.Visible and not some other item?