jujiboutils
About
Set of components to input and validate different kinds of data, floats, dates, etc. while working with db and non db controls.
Authors and contributors
Julio Jiménez Borreguero - jujibo at gmail dot com.
License
The Jujiboutils Project files are distributed under the GNU Library General Public License (see the file COPYING.LGPL) with the following modification:
As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.
Requirements
Jujiboutils needs Lazarus 1.0 or higher.
Download
The latest stable release can be found at: Lazarus-CCR SourceForge mirror
Latest sources using SVN:
svn co https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/jujiboutils
Bug reports
Bug reports and feedback: jujibo at gmail dot com
You also can find me on Freenode IRC channels: #lazarus-es, #lazarus-ide Nick: jujibo
Change Log
2013-08-29 jujiboutils 2.0 released
More details: Read changes.txt file, included in the sources.
Working system
The components have been tested using:
- Lazarus Linux 32 and Linux 64
- Lazarus Windows 32
- ZeosLib 7 (trunk)
- Sqldb
- IBX for Lazarus
- Memdataset
Locate the components and Documentation
TJLabeledIntegerEdit: input of integer numbers. Main properties: DisplayFormat, EditLabel.Caption, LabelPosition and Value. DisplayFormat example value: '0 ºC'
TJLabeledFloatEdit: input of float numbers. Main properties: Decimals, DisplayFormat, EditLabel.Caption, LabelPosition and Value. DisplayFormat example value: '#,0.00'
TJLabeledCurrencyEdit: input of currency numbers. Main properties: Decimals, DisplayFormat, EditLabel.Caption, LabelPosition and Value. DisplayFormat default value is '#,0.00' and Decimals=2
TJLabeledDateEdit: input of dates values. Main properties: DisplayFormat, EditLabel.Caption, LabelPosition and Value.
TJLabeledTimeEdit: input of time values. Main properties: DisplayFormat, EditLabel.Caption, LabelPosition and Value.
TJLabeledDateTimeEdit: input of date-time values. Main properties: DisplayFormat, EditLabel.Caption, LabelPosition and Value. The date and time must be separated by a space
Notes about Date and time input:
Valid date separators: . , - and / ie: 1.1.2011
Valid time separator: : ie: 10:20:45
In example, date: '01/02/2011' if you input .3, the result date will be '01/03/2011'. So for a system date format 'dd/mm/yyyy' 2. will set the day to two .5 will set the month to May and ..2012 will set the year to 2012. Of course you can supply none, one, two or three values
You can display the calendar by pressing the button or with the keyboard shortcut: Alt + Down Arrow.
Screenshot JLabel and JButton:
DB-aware:
These components work in the same way that Non-DB aware, except TJDBGridControl.
TJDBGridControl: input of db values in a grid. Auto detects type of data. Specialized cell editors for types: ftString, ftFloat, ftCurrency, ftBCD, ftDate, ftTime and ftDateTime. Special properties in columns like: Decimals (for ftFloat and ftCurrency), MaxLength (for ftString). Automatic decimals/scale detection for ftBCD. Allows null dates, times and date-times (empty values)
When you edit a field of type Date or Date-Time, you can display the calendar by pressing the keys: Alt + Down Arrow while editing.