TEnterAsTab =========== Version 1.03(17 May 1998) Delphi 1.0 and 2.0 versions Copyright (c) 1998 Greg Lief ---------------------------------------------------------------------------- 1. Description 2. Installation 3. New Properties 4. Copyright Notice 5. Disclaimer 6. Technical Support 7. Revision History 8. Comments 9. Purchasing Source Code ---------------------------------------------------------------------------- 1. Description ============== TEnterAsTab is a non-visual component which, when dropped upon a form, automatically causes the Enter keypress to act like Tab (i.e., move to the next control in the tabbing sequence). Shift-Enter will move to the previous control in the tabbing sequence. However, I must offer the following two caveats: * This component will set the form's KeyPreview property to True. Leave it that way, or it will not work!! * If the user is on any buttons and presses Enter, that will be interpreted as a button click. This is basic Windows behavior, and I did not feel comfortable changing it. My recommendation would be to remove any buttons from the tabbing sequence by setting their TabStop property to False. 2. Installation =============== A. Choose the Component | Install menu option (or if you are using Delphi 1.0, the Options | Install Components menu option). B. Click upon the Add Button, and select either ENT_TAB1.DCU (Delphi 1) or ENT_TAB2.DCU (Delphi 2). C. Press OK twice. D. After your component library is recompiled, you will find a new tab entitled "Greg Lief", with the delightful TEnterAsTab icon upon it. 3. New Properties ================= Enabled (run-time and design-time) -- This boolean dictates whether or not the component is active. I added this because there may be some situations when you may want to disable this behavior on-the-fly. 4. Copyright Notice =================== This component is fully functional. My copyright notice will appear when you drop it upon a form at design-time, but that will not occur at run-time. You can remove the copyright notice by purchasing the source code (see item #10 below). 5. Disclaimer ============= It is unfortunate that we live in a litigous society in which the lawyers are generally the only winners. However, that makes the following verbiage necessary: "THE CODE FOR THIS COMPONENT IS PROVIDED TO YOU AS IS BY ITS AUTHOR, GREG LIEF. THE AUTHOR HAS TESTED THE COMPONENT AND FEELS THAT IT WORKS AS BILLED, BUT MAKES ABSOLUTELY NO GUARANTEES OR WARRANTEES OF ANY KIND. IN OTHER WORDS, YOU ARE USING THIS ENTIRELY AT YOUR OWN RISK. NEITHER THE AUTHOR NOR ANY OTHER ORGANIZATION WILL BE HELD RESPONSIBLE FOR ANY DIRECT OR INDIRECT DAMAGE RESULTING FROM THE USE OF EITHER THIS COMPONENT OR ANY DERIVATIVES THEREOF." 6. Technical Support ==================== The reason I am making this component available as freeware because I feel that it will be of use to other Delphi developers. However, always remember the old maxim "you get what you pay for". In other words, do not get carried away by expecting technical support, because you will be sadly disappointed. 7. Revision History =================== July 17, 1998 -- version 1.03: got rid of annoying beeping. May 17, 1998 -- version 1.02: added Shift-Enter logic to navigate backwards through tabbing sequence. December 4, 1997 -- version 1.01: was inadvertently stepping on any OnKeyDown event attached to the form at design-time. Fixed. November 26, 1997 -- initial public release 8. Comments =========== If you find this component useful, I would appreciate hearing from you via e-mail (greglief@teleport.com). The most updated version of this component can always be found at my personal web site (http://www.greglief.com). 9. Purchasing Source Code ========================== The TEnterAsTab source code is available for $5 US. See the ORDER.TXT (included in this package) for more details.