Component : TVolumeControl Author : Rohit Kamat (a.k.a. Cybird) e-mail : cybird@rocketmail.com OR rohitkamat@hotmail.com Home Page : http://www.geocities.com/SiliconValley/Heights/1872 Delphi Ver : 3.0 (although can be customised to 1.0 and 2.0 on request) Component Ver. : 1.1.2 Type : Shareware Cost : No source : US$1.00 With Source : US$2.00 I would like to thank you for evaluating this component of mine. This is the first component that I have developed and I had a great deal of fun developing it and it also helped me realize how easy it is to develop components in Delphi. The zip file consists of 3 files : 1. VolumeControl.DCU (the compiled unit) 2. Volume.Res (the resource file for the component) 3. Readme.Txt (this file) You are encouraged to distribute this software freely. All that I ask is that it be distributed in its completeness (as this zip file). About the component : It is pretty simple to use and is "VolumeAware" even in designmode. Given below is a list of the properties and events and a brief explanation (I am sorry that I cannot provide you with a help file) : PROPERTIES*********************** Currentvolume : This is the property that displays the currentvolume and can also be used to control the volume. Simply set a value in this field to set the value. It accepts values between 0 (highest volume) to 255 (lowest volume). Name : The name of the control ProgressBar : If you set a progress bar here, it gets automatically updated with the current volume. You need not write any code for this. Tag : The usual... TrackBar : If you set a track bar here, it gets automatically updated with the current volume. Also any changes you make in the trackbar's position will reflect on the volume and the progressbar. Again - you need not write any code for this. UpdateTimerInterval : By default this will be 500 ms. You may change this to anything you please. This property will update (or sense) volume changes to the TrackBar and ProgressBar at the specified interval. VolumeType : You can control 6 different volumes with this component. They are (i) CD (ii) Line (iii) PC Speaker (iv) Synth (v) Wave (vi) MIDI END PROPERTIES******************** EVENTS**************************** OnVolumeChange : This is the only event that is present. It gets triggered every time the volume is changed (either by your app or by any foreign app. END EVENTS************************ When you register this component with Delphi (Component|Install Component...) it will be put under a tab called Rohit's Stuff. I intend to have a lot of components on the way now so don't worry about a tab that has been created for one component. This component is SHAREWARE. It costs US$1.00 only - I am charging this token amount of money simply as that - a (presumed) token of your appreciation. The software is fully functional as is but registration will ensure that you get mailed newer versions of this component and special offers on newer components that I develop. Oh yeah - US$2.00 will get you registered as also I will send you the source code. Registering shareware is the cool thing to do - so be cool. Lastly - please let me know if you find any bugs in the software. Right now the software is provided to you on an AS-IS basis. I take no responsibility whatsoever for any damages caused by the use of this component. I have had absolutely no problems and I hope that it works equally well for you. ///////////////////////////////////////////////////////////////////////////////// Version Changes : Ver 1.1.2 Added 2 new control types (WAV and MIDI) Removed error that occured on removal of any associated component (Trackbar/progressbar) Ver 1.0.5 Initial release version.