Vcl.Mask.TCustomMaskEdit.GetLastEditChar

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function GetLastEditChar: Integer;

C++

int __fastcall GetLastEditChar();

プロパティ

種類 可視性 ソース ユニット
function protected
Vcl.Mask.pas
Vcl.Mask.hpp
Vcl.Mask TCustomMaskEdit

説明

最後の非リテラル文字の EditMask におけるインデックス値を返します。

GetLastEditChar メソッドを呼び出すと,ユーザーが EditText を変更できる EditMask の末尾位置を見つけることができます。たとえば,0 は最初の文字,1 は 2 番めの文字を指定します。マスクがなければ,GetLastEditChar はテキストの長さを返します。

関連項目