Unit Mneyedit |
TMoneyEdit Component ------------------------------------ Author : Leandro Prusch e-mail : prusch@emrede.com.br Version: 1.0 Type : Freeware ------------------------------------ This component implements the Windows Calculator input style, including a fixed decimal part (whose size is user defined). The main atractions are: 1) The formatting of the value is performed while the user enters the data, and not on the loss of focus. 2) The user can choose the alignment of the value, (left, center or right) and such alignment is not implemented through the use of white spaces. 3) The user can freely walk with the cursor through the digits, as well as delete and backspace the digits at any position. 4) The initial value of the edit box is defined by the TextAsFloat property. The same property must be read at run-time. Delphi 1.0 and 2.0: Please, note that there are 2 '.dcr' files provided in the zip file: MneyEd16.dcr and MneyEd32.dcr. You must rename one of them to 'MneyEdit.dcr', depending on which Delphi you are, and copy this file to the same location of the MneyEdit.pas file. If you do not follow this tip the components palette's added glyph of TMoneyEdit will be the same of TMemo. I, personally, don't like it. I'd like to thank to Tom Gullion (TCurrencyEdit) and to Jose Maria Dias (TEditNew) for the help and the inspiration that came from theirs great components. I'm putting this component in the DSP as freeware, so I'll not accept any responsability for any error contained in or caused by this component or his use. Finally, I'd like to hear from you about any application, correction, improvemment and/or suggestion related to this component. e-mail to: prusch@emrede.com.br
Classes |
Functions |
Register -
Types |
Constants |
Variables |
Functions |
Types |
Constants |
Variables |