Vcl.Grids.TCustomGrid.GetEditLimit

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

Delphi

function GetEditLimit: Integer; dynamic;

C++

DYNAMIC int __fastcall GetEditLimit();

プロパティ

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

説明

ユーザーがセルに入力できる文字数を制限するメソッドとのインターフェースを提供します。

インプレースエディタは,GetEditLimit メソッドを呼び出し,セルに入力できる文字数を制限しなければならないかどうかを判断します。GetEditLimit は制限を設定していません。TCustomGrid の下位オブジェクトは GetEditLimit をオーバーライドして,特定のセルのテキスト長に制限を加えます。

関連項目