SIConvertField |
The SIConvertField allows you to let the user view and edit calculated data without using the OnCalcFields event of the dataset. If
you set the property Calculated to True, you can even show two or more fields that are using the same field of the dataset but
showing calculated data - e.g. you can show wight as ounces, pounds and grams in a DBGrid. If Calculated is False, TSIConvertField works as a normal TFloatField but the data gets converted when shown or stored. If Calculated is True you can set the property BaseField to a field where the data gets read from and written to. This component is currently UNDER CONSTRUCTION. Only some mass-units are defined yet. Please mail me if you need additional units - tell me what factor is needed to convert them from a SI base unit. Please mail me if one of the factors I used is not accurate. It is made for Delphi 1 and 2. Delphi 3: I do not have Delphi 3.0 yet. For this I do not know if it works with it. Download (9KB, Version 0.11, Last modified: Oct-30-1997) |
|