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! Quote 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? Quote 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 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 30, 2020 Share Posted September 30, 2020 1 Quote 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 Quote Link to comment Share on other sites More sharing options...
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.