TDBGrid wont make me crazy 2 lazarus / 16-Databases ---------------------------------------------------------------------- eara · 2014-04-22 19:46 i always don't feel well when it comes to gui+interaction with user... Anyway my new problem here is the TDBGrid which i use it in all my Select Forms, and it's main job is user to find & select a record. Form has also a "btnOk" which is i think the kind=bkOk, modalResult=mrOk, default=true and doesn't intercept the ENTER which is intercepted from @#$@#$#@ which is just advancing to next record... Tried also: AutoAdvance=aaNone, TabAdvance=aaNone Finally i wrote OnKeyDown event handlers in TDBGrid, in Form and i finally managed to intercept the damned VK_RETURN but.... on NEXT RECORD!!!!  IS THIS NORMAL ??????? ---------------------------------------------------------------------- eara · 2014-04-23 00:25 [BYPASS] used onKeyDown event handler and put the VK_SPACE to select the record instead of the !@#$$@#$ VK_RETURN... and it seems ok (as space does the same work over focused buttons)