Home All Groups Group Topic Archive Search About

DataGridView vertical scrollbar freeze

Author
29 Sep 2006 12:25 PM
Oyvind Eriksen
Hello.
I have an application that includes a DataGridView.
This application load data into a DataTable based on mpeg audio files which
the application validates.
Since this can take some time (specially if you choose several large files)
the void which load the data runs on a seperate thread.
On some machines, not on my own which have VS2005 installed, after the void
is finished, the vertical scrollbar in the DataGridView is frozen. If I
minimize and restore the form, the scrollbar is gone.
Does anyone have a similar experience or know what can cause this?

Thank you!

Regards,
Oyvind Eriksen

Author
2 Oct 2006 6:08 AM
Oyvind Eriksen
I found a solution.
I've created a status form which runs on a seperate thread while the main
thread do the work.
Now everything works fine.

Regards,
Oyvind Eriksen


Show quote
"Oyvind Eriksen" <oyvind -(at)- eriksen.cn> wrote in message
news:u7UmkJ84GHA.3840@TK2MSFTNGP06.phx.gbl...
> Hello.
> I have an application that includes a DataGridView.
> This application load data into a DataTable based on mpeg audio files
> which the application validates.
> Since this can take some time (specially if you choose several large
> files) the void which load the data runs on a seperate thread.
> On some machines, not on my own which have VS2005 installed, after the
> void is finished, the vertical scrollbar in the DataGridView is frozen. If
> I minimize and restore the form, the scrollbar is gone.
> Does anyone have a similar experience or know what can cause this?
>
> Thank you!
>
> Regards,
> Oyvind Eriksen
>

AddThis Social Bookmark Button