Board index » delphi » Changing ENTER as TAB in edit controls - Odd behaviors
b...@droste1.com (Bill Artemik)
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Changing ENTER as TAB in edit controls - Odd behaviors
I'm using the new and improved Delphi 5. I have a client that wants a
standard edit window with some dbEdit controls. Using a TEdit control to filter the table the user wants to use the I have tried the following examples to get this to work: In the Form's OnKeyDown event (KeyPreview on) if (key=vk_Return) then When I hit enter from the TEdit control I move to the first DbEdit Then I tried: Procedure TfrmDataEntry.CMDialogKey( Var Msg: TWMKey ); With this procedure as part of the form's PRIVATE declaration. NOTHING Is there something WIERD about DBEdit controls that trashes the enter Does anyone have any suggestions (other than getting the user to Thanks for any help! Bill Bill Artemik "There are THREE kinds of people in the world... |