RAD Studio VCL Reference
TControlScrollBar.Assign Method

Copies the contents of a TControlScrollBar instance to another TControlScrollBar.

procedure Assign(Source: TPersistent); override;
virtual __fastcall Assign(TPersistent * Source);

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. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!