Trying to select an entire row when a cell is clicked
New DiscussionI’m using this code to select the entire row when a cell is activated by clicking or keyboard
Private Sub ugMain_AfterRowActivate(ByVal sender As Object, ByVal e As System.EventArgs) Handles ugMain.AfterRowActivate
ugMain.ActiveRow.Selected = True
Application.DoEvents() ‘ I see the row select
End Sub
This does select the entire row, but another mechanism I am not aware of selects only the cell Any idea what I am doing wrong??
Sign In
to post a reply
Replies
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Favorites
0 Replies
2 Created On
Oct 01, 2008 Last Post
17 years, 5 months ago