TiIntegerOutput.LeadingZeros

TiIntegerOutput

Specifies whether leading zeros are show in the displayed value.

property LeadingZeros : Boolean;

Description

Use LeadingZeros to specify whether leading zeros are added to the displayed value, depending on the MaxLength property setting.

For example, if the displayed value would be 35, and your MaxLength property is set to 5, then three (3) extra zeros will be padded to the beginning of the displayed value. This would result in "00035" being displayed.

Example

Delphi

iComponent.LeadingZeros := True;

C++ Builder

iComponent->LeadingZeros = True;

Contents | Index | Previous | Next