"Selected" is not reflected visually
Hello all,
My problem is that though I set "DataGridView2.Rows(i).Selected = True" -
the row is not "marked"(dark gray) as selected.
What should I do to display the row as selected by user and not by the program?
Do I need to raise any kind of event , or something?
I have the exact problem with treeview, when I select a node via the program by setting :
TreeView1.SelectedNode = x
I do not see visually that the node is selected, though the event "TreeView1_AfterSelect" is triggered.
-- edit --
I use VB .NET 2005
----------
Please advise, thanks.