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.
arrow
arrow
    全站熱搜

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