文件名称:TextBoxmyj2
介绍说明--下载内容均来自于网络,请自行研究使用
禁止在TextBox中输入
作者:土人
方法一:(有光标闪烁,输入、删除等操作无效)
Text1.Locked = True
方法二:(无光标闪烁,不能输入、删除,界面变色、文字反白)
Text1.Enabled = False
方法三:(有光标闪烁,可删除,不能输入)
此法用两个API函数,略为复杂些。请在标准工程添加两个按钮和一个文本框:-TextBox which prohibits the importation Author : a native method : (a cursor blinking, importing, delete the operational void) = True Text1.Locked two methods : (without blinking cursor, can not be imported. delete, change the interface, writing anti-white) = False Text1.Enabled three ways : (a blinking cursor can be deleted, can not be imported) of this Act, two API function, a bit more complicated. Please add the works of the standard two buttons and a text box :
作者:土人
方法一:(有光标闪烁,输入、删除等操作无效)
Text1.Locked = True
方法二:(无光标闪烁,不能输入、删除,界面变色、文字反白)
Text1.Enabled = False
方法三:(有光标闪烁,可删除,不能输入)
此法用两个API函数,略为复杂些。请在标准工程添加两个按钮和一个文本框:-TextBox which prohibits the importation Author : a native method : (a cursor blinking, importing, delete the operational void) = True Text1.Locked two methods : (without blinking cursor, can not be imported. delete, change the interface, writing anti-white) = False Text1.Enabled three ways : (a blinking cursor can be deleted, can not be imported) of this Act, two API function, a bit more complicated. Please add the works of the standard two buttons and a text box :
(系统自动生成,下载前可以参看下载内容)
下载文件列表
禁止在TextBox中输入.txt