[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Write handler for the TStrings.Capacity property.
Source position: classesh.inc line 584
protected procedure TStrings.SetCapacity( |
NewCapacity: Integer |
); virtual; |
SetCapacity is the write handler for the TStrings.Capacity property. The TStrings implementation of SetCapacity does nothing.
Descendent classes can override this method to set the current capacity of the stringlist to NewCapacity. The capacity is the number of strings the list can hold before it tries to expand its storage space. NewCapacity should be no less than Count.
|
Capacity of the list, i.e. number of strings that the list can currently hold before it tries to expand. |
|
|
Abstract Read handler for the TStrings.Capacity property. |
lazarus-ccr.sourceforge.net |