Recent

Author Topic: Pressing Tab in the last cell of the DBGrid in edit  (Read 1216 times)

giovanni.seara

  • Newbie
  • Posts: 1
Pressing Tab in the last cell of the DBGrid in edit
« on: February 23, 2018, 04:26:23 pm »
When the DBGrid is in editing and focusing on the last cell available for editing, pressing TAB to continue navigation instead of inserting a new record ready for editing with the focus on the first column, the focus leaves the DBGrid and goes to the next component of the form. At this point the DBGrid is still being edited.
This makes it difficult to populate information quickly and effectively through the DBGrid.

Is this the expected behavior?

jamie

  • Hero Member
  • *****
  • Posts: 6090
Re: Pressing Tab in the last cell of the DBGrid in edit
« Reply #1 on: February 23, 2018, 11:39:06 pm »
Try using the OnExit event and put the dataset in read mode ?

 I suppose you could also use a Special key combo to enhance the Tab Key function using the
OnKeyDown, there by you can alter the behavior...

 Its all about hacking!  :)
The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018