Updating the UI while converting databases to V5
Ruslan Zasukhin
ruslan_zasukhin at valentina-db.com
Sun Mar 24 05:54:19 CDT 2013
On 3/20/13 5:25 PM, "jda" <jda at his.com> wrote:
>> Hi Jon,
>>
>>> Hi Ruslan,
>>>
>>> i'm getting feedback from users whose dbs are being converted from 4.x to
>>> 5.x.
>>> It can take quite some time for large databases (minutes), and when the
>>> spinning wheel cursor appears they think my app has hung and force-quit. How
>>> can I put up a dialog that shows the update is still working (e.g. a barber
>>> pole control)?
>>
>> API have functions to check version format of db yet before open.
>> Then you can show dialog and infinite progress bar at least.
>>
>>
>
> Hi Ruslan,
>
> But Valentina doesn't appear to yield time to the UI -- the progressbar
> doesn't update.
Even if you will start
ThreadMain
progress bar
start thread 2
call db.open that convert some time
??
I think thread2 will be busy by Valentina Task
And thread1 will update infinite progress bar
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list