As shown, now combobox2 is selected to the effect that after the first line, the cursor is the color of values have been selected,
Me.Com boBox1. Items. AddRange (New Object () {" ", "UUUU", "AAA", "BBB"}) 'empty string
Me.Com boBox2. Items. AddRange (New Object () {" ", "UUUU", "AAA", "BBB"}) 'the Object of this questions
Me.Com boBox3. Items. AddRange (New Object () {" ", "UUUU", "AAA", "BBB"}) 'half Angle space
Code in the first value in vs2019 ComboBox2 is shown as a special characters
The question now is due to the same code for the appearance of the "" shown in vb2003
ComboBox2 first value exactly is what, then, why is copied to a different place to display different appearance, also can use other ways to achieve the effect of?
Bosses, please advice!!!!!!
CodePudding user response:
Different versions support for special characters is different, in addition, vb6 code in vb.net can not completely, different versions of vb.net also has some changeCodePudding user response:
Try the combobox. Selectedindex=1