#7 Components - TSDBGrid & TSDBGridFooter
Contents
These two components were made for one reason only: to get decent looking footer for the DBGrid.
There are many components in the Delphi world giving DBGrid all sorts of features, but there are a very few that have the ability to show some kind of footer. Furthermore, all of those (well, the ones we could find on the Internet) either have some "features" we don't like, or don't have all the right things inside.
The perfect solution would be to have a footer component that can attach itself to any DBGrid. However, this is very close to being impossible, so we decided to do the next best thing: a footer component that can be attached to any TCustomDBGrid descendant. And here it is.
With TSDBGridFooter, you can choose the DBGrid component you like most, and use them together. That's why we didn't bother to make "the greatest DBGrid of all", but simply inherited from TDBGrid, and added some code to properly communicate with the footer component. TSDBGrid completely relies on TDBGrid functionality, and it doesn't introduce any new properties. That is why it's so easy to switch to any grid component: just change two lines in SGrid.pas.
If you have purchased the source version of these components, and want to combine the functionality of your favorite DBGrid and our TSDBGridFooter component, you'll need to make these changes:
In case you want to use this footer with InfoPower TwwDBGrid, remove the dot from {.$DEFINE W2W} in SGrid.pas.
Unpacking:
Unpack the .zip into any folder you want, for example 'C:\3rd Party Components'. Please make sure that you use -d option if you're using PKZip. Copy all the files from 'C:\3rd Party Components\XX' to 'C:\3rd Party Components'. Remember to replace 'XX' with Delphi or C++ Builder version that you use ('C4' for BCB version 4, or 'D5' for Delphi version 5, for example). Now that you have all the required files in 'C:\3rd Party Components' folder, remember to open the files only from this folder as instructed below.
Delphi, all versions:
Start Delphi, open SDBGrid.dpk, compile and close it. Open DclSDBGrid.dpk, compile, install and close it.
If Delphi complains about not being able to find any .dcu, .dpl, or .bpl, simply copy the file that Delphi is looking for to "C:\Windows\System".
C++ Builder 3:
Start C++ Builder, open SDBGrid.bpk, compile and close it. Open DclSDBGrid.bpk, compile and close it.
Select Install Packages... option in menu Component and click on the Add... button. Now select DclSDBGrid.bpl file and click on the Open button.
C++ Builder 4 and 5:
Start C++ Builder, open SDBGrid.bpk, compile and close it. Open DclSDBGrid.bpk, compile, install and close it.
April 2000. | 1.04 | First public release. |
May 23, 2000. | 1.20 | Full compatibility with Woll2Woll's InfoPower TwwDBGrid. Note that this compatibility applies only if you register. The footer component now inherits from TCustomControl instead of TGraphicControl. Reduced flicker when resizing the footer. Improved Paint method. |
March 5, 2002. | 2.0 | Added dropdown panel, the end user can select the type of calculation, speed improvement, Delphi 6 and C++ Builder 3, 4 and 5 support, no recalculation if not necessary, etc. |
There are no known bugs at this time. If you find some bugs, please report to info@sedlan.com, and we will send you source code for free, once the bug is corrected. Please remember to include your email address, otherwise we will not be able to send you the source.
Email address info@sedlan.com is available for all your comments, questions and ideas. If you'd like to see some additional functionality in this component, please contact us.
By registering one or more licenses, you have the right to incorporate these components into as many as you like applications royalty-free.
If you decide to purchase license for this, or any other #7 Component, you will get one year upgrades free of charge. New versions of components will be available to you at significantly lower price after the period of one year (during which you get all new versions for free). You will also receive a phone number for limited free technical support.
In case you register the source version of these components, you'll be able to use any DBGrid descendant with TSDBGridFooter.
Visit http://www.sedlan.com and register online. All major credit cards apply through secure Internet protocol. You can also register via fax, international mail order, bank wire, Postcheque, UK Cheque or US Check.
Please read carefully License.txt file before using this software.