还有一个写法:
在Text1的KeyPress事件里写代码
IF !BETWEEN(nKeyCode,65,74) AND !BETWEEN(nKeyCode,97,106)
NODEFAULT
ENDIF
在Text1的InterActiveChange里写代码
THISFORM.TEXT2.VALUE=this.value
在Text1的KeyPress事件里写代码
IF !BETWEEN(nKeyCode,65,74) AND !BETWEEN(nKeyCode,97,106)
NODEFAULT
ENDIF
在Text1的InterActiveChange里写代码
THISFORM.TEXT2.VALUE=this.value

感言:学以致用。 博客:http://www.bc-cn.net/blog/user14/65009/index.shtml email:Tiger5392@