Hi,
Take look at the extended grid.
http://dotnet.leadit.be/extendeddata...?category=Home
Ken
----------------
"Bunnist-Priest" <Di*******@Hotm ail.com> wrote in message
news:ez******** ******@TK2MSFTN GP15.phx.gbl...
Hello Everyone,
My first predicament is that I want to make a colomn of
my vb.net DataGrid a ProgressBar colomn. (full of Pr.Bars).
Is it that difficult? Is there a code example?
using -
Dim ColStyle as New DataGridTextBox Colomn
ColStyle.TextBo x.Contains(Prog ressBar1)
didn't show anything inside.
My second issue is trying to make a full row selection
in the DataGrid, i.e. to highlight the entire selected row.
For a DataGrid_MouseD own Event, I use:
dim hti as DataGrid.HitTes tInfo
hti = DataGrid.HitTes t(New Point(e.X, e.Y))
Select Case hti.Type
Case ....Type.Cell
DataGrid.Select (hti.Row)
And it works fine, except for when you click on that cell
a second time. In that scenario the Highlight disappears
and the program de-selects the row. Can I avoid that?
I checked when it responds to "if ...type.Cell" and I
found out it's ANYWHERE on the DataGrid. Any Ideas?
Also, if you use the Down-Key on the keyboard after the
last cell, the highlight disappears again.
I will appreciate any help and guidance.
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!