Skip to content

Replies

0
Jason McIntosh
Jason McIntosh answered on Feb 4, 2008 2:00 AM

When you say the column is marked, are you meaning that the entire column is selected or highlighted or are you meaning that the column header itself is selected? I ask as I have grids where I have both happening.

Cheers
Jason

0
Jason McIntosh
Jason McIntosh answered on Jan 9, 2008 11:45 PM

Now you have got me. I have seen it done, but i dont really know quite how they did it.

Should it not be possible to run the fill for your dataset in the Background worker, and then use a loop to run the ReportProgress method, also setting the progress on your ProgressBar?

I dont know…I am just playing with ideas here.

Anyone else got any ideas?

0
Jason McIntosh
Jason McIntosh answered on Jan 9, 2008 11:20 PM

Thanks. Worked like a charm.

0
Jason McIntosh
Jason McIntosh answered on Jan 8, 2008 1:27 AM

You might need to put the loading of data into the grid into a background worker process. Then you can use the enquire Progress Bar tool and enquire of the background working to update the progress.

Here is one example of this occuring, but insteadof using the Progress Bar tool, they have simply output a string of the percent complete.

Hope this helps.

Jason