如何在combo的click事件combo显示的内容为其内容的一部分.txt

来自「VB技巧问答10000例 VB技巧问答10000例」· 文本 代码 · 共 5 行

TXT
5
字号
Drop a Text box, Name it txtPart covers the combobox, but not the drop down arrow. 
    In the combo click event, add: 
    txtPart.text=mid(cbo.text,3, 4) 
<END>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?