[Overview][Types][Classes][Index] |
Clears the internal array of line ranges used in the component.
Source position: textstrings.pas line 71
protected procedure TTextStrings.ClearArrays; |
ClearArrays is a method used to free resources allocated to the internal array with the line ranges for the component. ClearArrays frees memory allocated for the TTextLineRange instances in the array, and sets the references to Nil.
The internal validity flag and the line counter are both reset to indicate that the array has not not been allocated.
ClearArrays is called from the BuildArrays, Clear, and AddStrings methods.
|
Clears and builds the array with the line ranges for the values in Text. |
|
|
Clears the text and internal line ranges for the component. |
|
|
Adds the lines of text in TheStrings to the current class instance. |
|
|
TTextLineRange - record structure showing start and end of line in text, the line as a string, and any user data. |
Version 4.0 | Generated 2025-05-03 | Home |