DesignEditors.TComponentProperty.GetEditLimit
Delphi
function GetEditLimit: Integer; override;
C++
virtual int __fastcall GetEditLimit(void);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | DesignEditors.pas DesignEditors.hpp |
DesignEditors | TComponentProperty |
説明
Value プロパティの最大長(文字数)を返します。
DesignEditors.TComponentProperty.GetEditLimit は DesignEditors.TPropertyEditor.GetEditLimit を継承しています。以下の内容はすべて DesignEditors.TPropertyEditor.GetEditLimit を参照しています。
Value プロパティの最大長(文字数)を返します。
オブジェクトインスペクタは GetEditLimit メソッドを呼び出し,ユーザーがプロパティの値として入力できる文字数を判別します。GetEditLimit メソッドは 255 を返します。プロパティ文字列の最大数がそれ以外の値の場合は,このメソッドをオーバーライドしてください。