Hi,
In our project I want to use a progressDialog to show progress of a data import process. The process has 6 big steps like that. I want to use the same progressDialog to show the progress..
- Converting points... (there are 1817 point in my test file)
- Saving points... (1817)
- Converting lines... (1956)
- Saving lines... (1956)
- etc...
Every single steps raise an event that is catch and updates the progress bar. After fundling with it for half a day, it's now working ok except for one thing.The progressDialog message and the status (wich is the percentage that I compute) updates correctly. But the progress is just going left and right without representing the percentage showed by the status text.
I found out that you must specify the steps parameter at the cration of the ProcessDialog in order to have a progress bar showing real progress. But then you can't change this after the progressDialog is created. Setting ProgressorSource.Max won't affect the progress bar. So for now I'm showing the progressDialog with percentage but the progress bar is unrelevant.
Is there a way to do this that I don't see? Or I suggest to fix this in the next SDK release.