Results 1 to 4 of 4

Thread: [RESOLVED] Select DatagridView Row Header.

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2006
    Location
    London, UK
    Posts
    817

    Resolved [RESOLVED] Select DatagridView Row Header.

    I want to delete a datagridview row by selecting the header row and hitting the Delete key.

    Starting with another textbox control having focus, then clicking a datagridview row header (which highlights the row), the focus remains with (or returns to) the original control.
    The only way I can delete a row is if I first enter a cell and then select the row header.

    This is may already be obvious from the behaviour I describe (or possibly irrelevant) but I have "SelectionMode = FullRowSelect" and "EditMode = EditOnKeystrokeOrF2"

    Can anyone suggest what tweak might be needed to fix this?
    Last edited by sgrya1; Nov 22nd, 2021 at 01:07 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width