Tedit组件中编辑框内字符数目最大值为多少?. A.0                  B.255              C.128             D.任意.

解决方案 »

  1.   

    TEdit.MaxLength 默认是0,表示无限制。
    但是实际上还是受Windows标准编辑控件可输入字符数的限制。以下摘自Delphi Help:
    Note: Even when MaxLength is 0, there may be limitations imposed by the operating system on the number of characters that may be entered into an edit control.
      

  2.   

    这个还真是不知道是多少? 
    瀑布汗...... -_-!!
    看看TEdit的Text属性是什么数据类型吧。如果是string。就知道了。。Max为2G Bytes.......但似乎没有答案。。-_-!!
      

  3.   

    TCustomEdit=class(Tcontrol)......
    --------------------------------------------------------From Help:Contains a text string associated with the control.Delphi syntax:property Text: TCaption;C++ syntax:__property AnsiString Text = {read=GetText, write=SetText};
    -------------------------------------------------------------
    TCaption is the type of the Caption property.UnitControlsDelphi syntax:type TCaption = type string;-------------------------------------------------------------
    So...... -_-....