[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TCustomUpDown.AdjustPos

Applies changes to the control value using its increment and decrement buttons.

Declaration

Source position: comctrls.pp line 1938

protected procedure TCustomUpDown.AdjustPos(

  incPos: Boolean

);

Arguments

incPos

  

True when the position value is being incremented. False when being decremented.

Description

AdjustPos is a method used to apply changes to the value for the control when the increment or decrement buttons are clicked. AdjustPos uses the value in the FUseWS member to determine if the change in value is handled in the widgetset class, or handled in TCustomUpDown.

Version info

Introduced in LCL version 2.1.0.

See also

TCustomUpDown.AssociateKeyDown

  

AssociateKeyDown - protected procedure for dealing with action to be taken if an associate key (Shift, Ctrl or Alt) is pressed while the control is active.

TCustomUpDown.AssociateMouseWheel