Vcl.Forms.TControlScrollBar.Assign

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Assign(Source: TPersistent); override;

C++

virtual void __fastcall Assign(System::Classes::TPersistent* Source);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TControlScrollBar

Description

Copies the contents of a TControlScrollBar instance to another TControlScrollBar.

Assign copies the Visible, Range, Position, and Increment properties from the source object to the TControlScrollBar instance. If the Source parameter is not another scroll bar, Assign calls the TPersistent Assign method, which allows the source object to copy properties if it has an AssignTo method that knows how to copy to a control scroll bar.

See Also