TfxRepeatBtn Component (c) 1997 by Chuck Gadd. All rights reserved. Version Beta 0.51 10/23/97 You are granted permission to use this component in any program royalty-free. You MAY NOT charge any fee for distributing this component. Use of this component is at your own risk. I do not make any warranty regarding this component, but it's based on code I've used for quite a while. (Ok, so I'm not good at lawyer-talk ) I make no promises regarding Updates/bug fixes, but if you find any bugs or have any feature suggestions, please let me know. My email address is cgadd@cfxc.com. Feel free to drop me an email just to say 'I like it!'. If you hate it, don't bother telling me. Updates / Information / Other Components will be available from my Web page at http://www.csd.net/~cgadd/delphi.htm Description: ----------------------------------------------------------------- Enhancement to Delphi's TSpeedButton control. This version adds a "Repeat" behavior. This will cause the OnClick method to be called while the button is held down. Installation: --------------------------------------------------------------- Unzip the .DCU file and the .R16 or .R32 into a directory in your library search path. for Delphi 1, from the main menu choose: Options|Install Components|Add for Delphi 2 and Delphi 3 choose: Component |Install|Add Change the File type to .DCU files, then browse to find the Dir where you unzipped this components files. It will be installed onto a new page titled 'CyberFX'. ATTENTION!!!!!!!!!!!!!!! Before installing ANY components, you should make a safe copy of your Delphi Library files (or in the case of D3, the Package files). If it gets mangled, you're hosed!!!! I haven't had any problems with this component trashing my VCL, but why take chances??? Properties: --------------------------------------------------------------- All TSpeedButton properties (See Delphi Help) RepeatEnabled : Enables or Disables the repeat behavior. InitDelay : Initial Delay before button begins repeating. RepeatDelay : Delay between repeats. Methods: --------------------------------------------------------------- All TSpeedButton methods (See Delphi Help) Events: --------------------------------------------------------------- All TSpeedButton Events (See Delphi Help) Note: ---------------------------------------------------------- This component creates a TTimer object to control the repeat behavior. The Timer is created after the MouseDown event, and it is destroyed in the MouseUp event, so TfxRepeatBtn will only ever use a single TTimer, and it will only be used while the button is repeating. TfxRepeatBtn Source Code: ---------------------------------------------------------- Source code is available for a one-time fee of $5.00, or is included when purchasing the TfxDbNav source code for $15.00 Please email me at cgadd@cfxc.com if you wish to purchase source code. Future revisions: -----------------------------------------------------------