TTextStrings.SetText procedure
Sets the value for the Text property from a PChar type.
Declaration
procedure SetText(TheText: PChar); overrideArguments
TheText | New value for the property. |
Description
SetText is an overridden method used to set the value for the
Text property using the specified
PChar value.
SetText stores the value in TheText to the member used for the
Text property. It also resets the internal validity flag for the array of of
line ranges. This forces the TTextLineRange instances to be
re-populated during the next read access to Strings or
Objects.
SetText re-implements the method from the ancestor, and does not call the inherited method.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
