求救!.关于VB中地text容量问题.!
来源:百度知道 编辑:UC知道 时间:2024/06/04 03:26:19
发现原本应该有72kb地脚本文件,而现在只有28kb,而且几乎每个脚本
生成后都不超过28kb.请高手替我解答,!谢谢,.这个问题不解决睡觉都难睡啊,嘎嘎.帮帮忙了.我会加分的.!
嘎嘎,n43e120朋友,.行不通.!郁闷.能说详细点么?.我把属性设置了.但还是不超过28kb!.
VB6的TEXT容量限制是64KB,但这只是理论值,实际使用时不一定达到个值,具体我也说不太清,这你可以通过试验发现这个现象:在TEXE中放入文本,看看能放多少?放的内容不同,最后的上限也不同。
Sorry, 查了查 MSDN Library, HTML TextArea 没有这个属性
不过 Input type=text 有, 下面从 copy 下来的
(TextArea 也是有限制的,建议,再大就用剪贴板吧)
MAXLENGTH Attribute | maxLength Property
--------------------------------------------------------------------------------
Sets or retrieves the maximum number of characters that the user can enter in a text control.
Syntax
HTML <ELEMENT MAXLENGTH = iLength... >
Scripting object.maxLength(v) [ = iLength ]
Possible Values
iLength Integer that specifies or receives the maximum length of the input.
The property is read/write. The property has no default value.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.
Remarks
The m