The form contains a textbox, a label. When a user types, I want the text to be displayed
in the label and nothing sent to the textbox ( which can be acheived by set Form.KeyPreview = True),
but the textbox should always have the cursor in where it is. How to do it?
Another question is, when inserting text (not typing directly in the textbox) to the textbox in the cursor position
how to avoid flash in textbox? If code as: text1= sTextbeforcusor & sAppendText & sTextAfterCursor
will cause such problem.
Thanks.
創作者介紹
創作者 小吳 VBQA 程式設計討論 的頭像
vbqa

小吳 VBQA 程式設計討論

vbqa 發表在 痞客邦 留言(1) 人氣( 10 )