views:

42

answers:

0

Hello,

Can anyone suggest the way so i can create a progress bar to show on the status bar while pressing e.g. a button in a RibbonControl and while this form is creating and loading the progress bar shows some progress. If I try some code like .ShowProgressBar -> position value -> create and load the form -> position value -> .HideProgressbar.

All these ofcourse happening in the Mainthread so i get nothing in the progress bar, i can only see it while appearing and disappearing, not even the positions between.

The scenario is (I use DX Controls, but i don't think it matters anyway), have a ribbonform where is MDI, some ribbon buttons and while pressing a button creating forms and set as child forms to the ribbonform or operations.

i don't have the knowledge to orchestrate the thread operations. Anyone can show some examples on the concept?

Thank you