Nadya Posted September 30, 2020 Share Posted September 30, 2020 Hello! 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 More sharing options...
Sherzod Posted September 30, 2020 Share Posted September 30, 2020 18 minutes ago, Nadya said: I need a DBGrid in which some cells in each row are available for editing Hello, Do you use components (as editor) for editing? Link to comment Share on other sites More sharing options...
Nadya Posted September 30, 2020 Author Share Posted September 30, 2020 17 minutes ago, Sherzod said: Hello, Do you use components (as editor) for editing? No. If it's important - I use TClientDataSet and property EditFormat = '###,###,###,###,##0.000' for edited fields Link to comment Share on other sites More sharing options...
Sherzod Posted September 30, 2020 Share Posted September 30, 2020 1 Link to comment Share on other sites More sharing options...
Nadya Posted September 30, 2020 Author Share Posted September 30, 2020 It works! Thank you very much! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now