StrToWindowState function
Converts a string to a TWindowState enumeration value.
Declaration
function StrToWindowState(const Name: string): TWindowStateDescription
StrToWindowState is a
TWindowState function used to get
the value from the TWindowState enumeration for the specified string.
StrToWindowState calls the
GetEnumValueDef routine in
lazutilities to convert the string to its value in the
TWindowState enumeration. The return value defaults to
wsNormal
when
Name does not represent a value in the TWindowState
enumeration.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
