|
-
Oct 10th, 2007, 12:08 AM
#5
Re: Question with DataGridView
As the documentation states:
When you change the value of the CurrentCell property, the SelectionChanged event occurs
If your grid is the first control in the tab order then it gets focus when the form loads and thus the CurrentCell becomes the first cell in the grid, thus the SelectionChanged event is raised. If the grid is not first in the tab order then the SelectionChanged event won't be raised until the grid first gets focus.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|