DesignEditors.TStringProperty.GetEditLimit

提供:RAD Studio API Documentation

Delphi

function GetEditLimit: Integer; override;

C++

virtual int __fastcall GetEditLimit(void);

プロパティ

種類 可視性 ソース ユニット
function public
DesignEditors.pas
DesignEditors.hpp
DesignEditors TStringProperty

説明

Value プロパティの最大長(文字数)を返します。 {{#multireplace:DesignEditors.TStringProperty.GetEditLimit|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} は {{#multireplace:DesignEditors.TPropertyEditor.GetEditLimit|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} を継承しています。以下の内容はすべて {{#multireplace:DesignEditors.TPropertyEditor.GetEditLimit|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} を参照しています。

Value プロパティの最大長(文字数)を返します。

オブジェクトインスペクタは GetEditLimit メソッドを呼び出し,ユーザーがプロパティの値として入力できる文字数を判別します。GetEditLimit メソッドは 255 を返します。プロパティ文字列の最大数がそれ以外の値の場合は,このメソッドをオーバーライドしてください。

関連項目