在VB中让TextBox中的字不能编辑
vb吧
全部回复
仅看楼主
level 1
lgzlhy2002
楼主
在VB运行中如何让TextBox中的字不能编辑,并且艳色不变谢谢各位大虾了
2011年07月07日 16点07分
1
吧务
level 10
妖精丶妮郁😘
locked
2011年07月07日 17点07分
2
level 1
lgzlhy2002
楼主
设为False,好像还是可以输入字的呀!
2011年07月07日 17点07分
3
level 13
sunshinebean
是为true
2011年07月07日 17点07分
4
level 12
WWEERR
为True 可以粘贴……
2011年07月07日 18点07分
5
吧务
level 15
放飞希望,追逐梦想
不是吧,我试了下,设成True后,是无法粘贴的
2011年07月07日 21点07分
6
level 12
WWEERR
右键,粘贴
2011年07月08日 02点07分
7
level 12
WWEERR
2011年07月08日 02点07分
8
level 9
liangplayer2
试了下。右键粘贴 / Ctrl+V 也是无法粘贴的。。。
2011年07月08日 02点07分
9
level 12
WWEERR
我的就可以
2011年07月08日 02点07分
10
level 9
liangplayer2
不知道。。。我的VB不能粘贴成功~
2011年07月08日 02点07分
11
level 12
WWEERR
难道这,貌似我真的能粘,但是不能删除……
2011年07月08日 02点07分
12
吧务
level 15
放飞希望,追逐梦想
把资源文件XP.res导入到工程中,就无法粘贴了
2011年07月08日 03点07分
13
吧务
level 10
无聊耍耍酷
打了SP6补丁就不可以粘贴了
2011年07月08日 06点07分
14
level 7
hmlky
TextBox不能编辑就省心了。
CommandBox不能按才好呢!~
2011年07月08日 09点07分
15
level 9
gam2046
哈哈、这是个碧油鸡、文本框即使locked也通过粘贴修改的、
如果、你不嫌麻烦的话、可以locked后、再屏蔽掉快捷菜单(SetWindowLong)
2011年07月08日 09点07分
16
level 1
lgzlhy2002
楼主
谢谢大家了!
2011年07月08日 15点07分
17
level 1
嘟嘟逸凡
可以不用Textbox控件,用Label控件Borderstyle属性设置为1,效果和text控件差不多。这办法绝对没法编辑,也没法选中
2023年01月03日 03点01分
18
章鱼不是鱼⛅
厉害,12年前的贴子被你挖出来了
2023年01月03日 03点01分
1