HOME, PRODUCTS, ARTICLESCONTACT

BUY UPC™UPC™ FEEDBACKUPC™ SUPPORT

D.10. TADVANCE_PageNamingParams

TPersistent

TADVANCE_PageNamingParams

PageNamingParams™ in the Object Inspector™.

PageNamingParams™ in the Object Inspector™.

TADVANCE_PageNamingParams generate series of page names with true alpha-numeric order. Set PageNamingParams™ before generating like-named pages:

  • Assigning 'MySpecialPage_' to PageNamingParams.Prefix and 2 to PageNamingParams.SuffixDigits for instance results in a first page being named 'MySpecialPage_01', a second being named 'MySpecialPage_02', and a tenth being named 'MySpecialPage_10'.

    IDE processes instead result in a Page10 following a Page1 and preceding a Page2.

PROPERTIES

property Prefix : String read IPrefix write IPrefix;
__property AnsiString Prefix = {read=IPrefix, write=IPrefix};

Prefix applied by automated page naming processes. It is the developer's responsibility to comply with legal naming conventions.

property SuffixDigits : Integer read ISuffixDigits write SetSuffixDigits default 5;
__property int SuffixDigits = {read=ISuffixDigits, write=SetSuffixDigits, default=5};

Prescribes the number of zero-prefixed digits in which to express the right-aligned numeric suffix. Naming processes search from 1 to the maximum permissible value and apply the first unused name which can be assembled from the prefix and suffix.

It is the developer's responsibility not to exceed the number of pages accommodated by the SuffixDigits value. The range of SuffixDigits must fall within 2..10, inclusive. Where SuffixDigits is 2, no more than 99 pages can utilize a given Prefix. The default SuffixDigits value accommodates 99,999 pages deploying a given Prefix.

© Copyright 1995-2007, by ADVANCE Information Systems, Inc. ALL RIGHTS RESERVED.Copyright 1995-2007, by ADVANCE Information Systems, Inc. ALL RIGHTS RESERVED.

Firefox™.Best viewed in Mozilla Firefox™.