Jump to content

DBGrid: How to autoselect then value in the edited cell when it gets focus?


Recommended Posts


I need a DBGrid in which some cells in each row are available for editing

When user presses Tab to go to the next cell - this cell gets focus and cursor is positioned at the end of the cell value

So before filling cell with a new value, user have to erase old value by press Backspace  or to select old value manually and then clear it

Is there any way to autoselect value when user enters the cell?

Thanks for any help!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...