Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
/img/help/home.gif

TStream.SetSize

TStream


Provides a placeholder for a method to change the size of the streamed resource.

 

procedure SetSize(NewSize: Longint); virtual;

 

Description

SetSize does nothing in TStream. Descendant stream classes can override this method to set the Size property of their objects. SetSize is the write procedure for the Size property.

 

Note:      SetSize is introduced in TStream, even though it does nothing, because it is not possible to change the definition of a property in a descendant class. SetSize must therefore be introduced when Size is introduced.

        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Nov 24, 2024