Spiel79 Posted May 7, 2004 Posted May 7, 2004 Hello everyone. I have a datagrid with a few columns. What is the code to if I wanted to change the cursor to a hand everytime the mouse passes over any cell in the first column? Thanks. Quote
JABE Posted May 7, 2004 Posted May 7, 2004 In the datagrid's MouseMove event: If theDataGrid.HitTest(e.X, e.Y).Column = 0 Then Me.Cursor = Cursors.Hand Else Me.Cursor = Cursors.Arrow End If Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.