Catch the keypress (keypress = true in form object inspector) in the form.keypress event and set the ActiveControl from there. It will receive it before the control does and should work.
dave --- Roberto Freitas <[EMAIL PROTECTED]> wrote: > When user presses <Enter> key I would like cursor > jump to the next > control on the form. As suggested by Paul on this > site, I've got good > tip at this link: > http://delphi.about.com/od/vclusing/a/entertab.htm > But it has answers only for Edit and DBGrid > controls, not for > DBCtrlGrid. Pressing <Enter> key when cursor is on > DBCtrlGrid has an > special effect to change the selection between > control itself and > current record. > So I'm still lacking how to do it in DBCtrlGrids. > Does anyone know how to do it? > > > > > __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/i7folB/TM --------------------------------------------------------------------~-> ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

