TStatic::GetTextLen returns the length of the static control's text.
To get the text itself, use TStatic::GetText.