Hi I'm currently using DevExpress MarqueeProgressBarControl in my WinForms project.
I'm implementing a user control that has the MarqueeProgressBar that gets displayed on click on a button. To achieve a modal popup but avoiding using Form.ShowDialog for chosen reason, I'm setting the ParentForm.Enabled to false. When I use this approach, the MarqueeProgressBar does not animate. When I use the standard WinForms ProgressBar control, it can still animate. Attached is a sample project that shows the behavior. To reproduce the behavior, please uncomment the code, run the application and click on the button.
Can you please advise if it is possible to get the MarqueeProgressBarControl to animate even when the ParentForm.Enabled is set to false? I was expecting that the behavior should still match the standard WinForms ProgressBar.
Thank you.
Hi,
We have successfully reproduced the behavior you described and passed this ticket to our developers' team for further research. Please bear with us. We will notify you as soon as we make any progress.
In the meantime, create a custom editor and override the MarqueeProgressBarViewInfo.ShouldAnimateItem method. I have updated your project to show this approach.