![]() |
![]() |
|||||||
|
|
|
|
Delphi Components : Generator Package
|
|||||||||||||||||||||||||||
|
Dear Friend, |
version |
w/o source |
w/ source |
|
- | |||
Secrets of our generatorIt is true that almost every data base implementation operating with any documents creation has fields that would be good to generate automatically based on some user specific rules. We are sure you can show us this is valid for some other kind of software you are developing now. Here's a small description of the secrets of one solution to this task - our TGenerator. It is a non visual Delphi 4.0, Delphi 5.0 component which is a main component in our Generator package and therefore we want to explain more to you. Why user defined?TGenerator result string depends on powerful mask property, which is set up at design time. Why auto incremental?TGenerator automatically gives you the next valid sequence of chars at
run time based on the specific settings. Each time you call function Generator
you will get the next state of the incremental string. This is useful for Invoice
or other document numbering, for example. Software developers can control
type of generating string by setting TGenerator Mask property. Below you
can see a few examples that show you a small set of possible sequences generated
by the component.
Examples:TGenerator has very flexible generating mechanism. The next few examples show different illustrations of generated strings, depending on user defined patterns.
Example 1: 1. 'ST-A0000'
Example 2:
'AA00','AA01',...'AA99','AB00',....'ZZ99',...
Example 3:
'A-11','A-12',....'F-32','F-33','A-11',....
Example 4:
'0-K','0-L','0-M','1-K',....'A-M','0-K',...
Example 5:
'0JAN','0FEB',....'0DEC','1JAN',.....'9DEC','0JAN' Each time when output string overflows, i.e. output string reaches EndValue(if defined) or maximal available value for defined pattern, OnMaskOverflow event will be invoked.
Example 6:
Example 7:
Mask = '##'
Mask = '##'
The output string for Generator1 will be: '00','01',....'33','00',.... The output string for Generator2 will be: '34','35',....'99','34',....
There is so much more, we couldn't possibly list it all here. What you have just read is only a small sample of the existing possibilities you will get when you implement our TGenerator. You need this kind of straight-up component. If you truly want to save your time and money every time you need of auto incremental string generation, immediately, then the component I'm offering you is CRUCIAL. Click here for a pictures of the design time setting screen (84K). All the tips and secrets of TGenerator can be your own because they are in a very intuitive and very easy to understand format.
| |||
Thursday, 23 April, 2026 |
© 2011 EDA LTD. All rights reserved! |
Terms of service. |