TiPositionComponent.MinMaxFixed

TiPositionComponent See Also

Specifies whether the Min-Max pointers are fixed or track the range of the Position property.

property MinMaxFixed : Boolean;

Description

Use MinMaxFixed to specify whether the Min-Max pointers are fixed or track the range of the Position property.

When MinMaxFixed is set to FALSE, the CurrentMax and CurrentMin values will track with the range of the Position property. Use ResetMinMax to set both the CurrentMax and CurrentMin properties to the current Position property value.

When MinMaxFixed is set to TRUE, the CurrentMax and CurrentMin values will be fixed and the OnPositionOverMax and OnPositionOverMin events will fire when the Position property exceeds the respective value.

Example

Delphi

iComponent.MinMaxFixed := False;

C++ Builder

iComponent->MinMaxFixed = False;

Contents | Index | Previous | Next