Download

Section categories

ActiveX [655]
Components and Libraries [747]
C and C++ Tools and Components [189]
C and C Tools and Components [141]
Databases and Networks [645]
Delphi Tools and Components [455]
Editors [111]
Help File Tools [120]
IDEs and Coding Utilities [167]
Java [194]
JavaScript [62]
Misc Programming Tools [545]
PowerBuilder Tools and Components [27]
Registration Tools [49]
Setup Utilities [160]
Visual Basic Components A-G [134]
Visual Basic Components H-P [72]
Visual Basic Components Q-Z [63]
Visual Basic Tools [163]

Our poll

How often do you buy software?
Total of answers: 4

Statistics


Total online: 3
Guests: 3
Users: 0

Login form

File Catalog

Main » Files » Programming » Components and Libraries

Edit Mask 1.00
28.01.2011, 21:59
If you have chosen to mask for Date, you specify the mask to use (let's say "MM/dd/yy") and the control will take care of the rest and only allow entries for that exact mask, even changing text color to red (by default, but you can change that) if it is not a correct input for that mask, thus notifying the user that it's not right. A truly unique feature is the Valid From and Valid To range that can be set for each data type. This means that values which are valid, but out of the specified range, are shown in red and the status is set to invalid and either above or below the range so you know exactly what the user has done from code.
Another great feature is when the component does not have focus you can specify a different mask to use, thus displaying a more readable value when the data is not being edited. It makes reports and data entry forms that much more user friendly and allows you more options when you're busy with development.
It's really easy to use as a currency component: initially it checks the environments culture to choose the currency symbol to use but this can be changed to any string value. For instance, you may not be happy with just a pound sign so you can add a GBP from code.
The up/down buttons can be customised too, from border types to background and border colors. Resolution (the amount to decrement/increment by) can be adjusted at run-time as well as in the IDE. Or if you don't want to see the buttons, just hide them.
This is a great way to edit or display times as well, because users can sometimes be a little trying, and validation from code after the user has entered the data and clicked on the Save button is always tiresome, we know...
Now the user can only enter valid values with a nice neat error flag to tell you the data is incorrect!

Category: Components and Libraries | Added by: File-Post
Views: 72 | Downloads: 0 | Rating: 0.0/0
Total comments: 0
Only registered users can add comments.
[ Registration | Login ]

Search

Site friends

add site