Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
370
Activity indicator on tab
posted

Hi,

When saving/refreshing a form I want some activity indictor on that forms mdi tab. Turning circle of something like that. Is this possible and how can I do this.

Refreshing the data on the form is done async and while refreshing all controls on the form are disabled, but it's always possible to go to other open forms. I just want to see on the tab of the form that is refreshing when it's done.

  • 34690
    Offline posted

    Hello Reychler,

    In order to achieve your requirement of an activity indicator, I would recommend that you utilize the Image property on the appearance of your tabs. We currently do support .gif file formats, and so you can display an animated image in your tab when you are doing some sort of action on the content of that tab. When it finishes, you can either change the Image to something else, or mark it null to have it disappear. You can use the following code from the UltraTabbedMDIManager to set this image:

    this.ultraTabbedMdiManager1.TabGroups[0].Tabs[0].Settings.TabAppearance.Image = Image.FromFile("imageFilePath.gif");

    I hope this helps. Please let me know if you have any other questions or concerns on this matter.