Unit 'Forms' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TControlScrollBar.Assign

If Source is a TControlScrollBar, copies properties to itself, else performs inherited Assign.

Declaration

Source position: forms.pp line 133

public procedure TControlScrollBar.Assign(

  Source: TPersistent

); override;

Arguments

Source

  

TControlScrollBar instance with the values copied in the method.

Description

Assigns the contents of the source object to the current object; in particular finds the Increment, Position, Range and whether smooth scrolling is to be feature and whether the scroll bar is visible.

See also

TControlScrollBar.Increment

  

The small Position increment, applicable to the scroll bar arrows.

TControlScrollBar.Position

  

Position of the slider, 0..Range-Page.

TControlScrollBar.Range

  

The virtual size of the Parent Control.

TPersistent.Assign