Vcl.Controls.TControl.GetTextLen

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetTextLen: Integer;

C++

int __fastcall GetTextLen();

Properties

Type Visibility Source Unit Parent
function public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl

Description

Returns the length of the control's text.

Call GetTextLen to find the length of the control's text. This is the size needed for a text buffer to be used by the GetTextBuf method.

See Also

Code Examples