API:Vcl.Mask.TCustomMaskEdit.GetTextLen

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetTextLen: Integer; reintroduce;

C++

HIDESBASE int __fastcall GetTextLen(void);

Properties

Type Visibility Source Unit Parent
function public
Vcl.Mask.pas
Vcl.Mask.hpp
Vcl.Mask TCustomMaskEdit

Description

Returns the length of the control's text.

Vcl.Mask.TCustomMaskEdit.GetTextLen inherits from Vcl.Controls.TControl.GetTextLen. All content below this line refers to Vcl.Controls.TControl.GetTextLen.

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