|
-
Jan 29th, 2003, 12:32 AM
#1
Thread Starter
Addicted Member
Use the MouseMove event on a Datagrid to Highlight the record??
So here's what I need to do...
when I move the mouse over the records in the datagrid, I want the current record under the mouse location to become highlighted??
Thanks for the help in Advance!!
-
Jan 29th, 2003, 12:58 AM
#2
Sleep mode
VB Code:
Private Sub DataGrid1_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGrid1.MouseLeave
DataGrid1.ReadOnly = False
End Sub
Private Sub DataGrid1_Move(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGrid1.Move
DataGrid1.ReadOnly = False
End Sub
-
Jan 29th, 2003, 01:03 AM
#3
Thread Starter
Addicted Member
First of all my datargid is set to readonly when the form loads!
I dont think you know what I meant..
right now when I click a record in the datagrid, it opens a new form with that record for datamanipulation.(updating,deleting, added...etc..)
so what I was asking is...is there away so that as I move the mouse of each different record it highlights the record that the mouse is over??
Thanks Again
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
|