Sign in Join
FPDoc Onlineexperiment

TCustomUpDown.Thousands property

Member of TCustomUpDownprotectedIn unit ComCtrls

Enables or disables use of the thousands separator when displaying the text for the Position property.

Declaration

pascal
property Thousands: Boolean read FThousands write SetThousands default True;

Description

When set to True, the thousands separator from DefaultFormatSettings is applied to the textual representation for the value in the Position property. The string is stored as the Caption for the Associate control. When set to False, the text assigned to the Associate control does not include the thousands separator.

The default value for the Thousands property is True.

Thousands is used when a new value is assigned to either the Position or Associate property.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.