Im desigining my form and i am using the normal combo box not the drop down list because it doesnt look good. Ive already disabled typing for it but when u click a item it highlights it automatically.what code can i use to disable it from highlighting when a item is selected within the combobox?
|
.NET
Code to Disable combobox highlighting on select |
(Jan 2, 2015 11:03 AM)+Haze Wrote: Enable it, don't disable it. If it's disabled how are your users going to use it. i did that but it still is highlighting. The idea is to get rid of the blue highlight after a user has clicked a item (Jan 2, 2015 11:04 AM)nathan72389 Wrote: there is no easy way of doing it. you could write your own control or use some hackey sendmessage call. yeah i figured it would take a long time to get rid of it
This might help you..
Code ComboBox1.SelectedIndex = -1Regards Saket
BTC - bc1q3efew3yzfwhdz290dafykaw0a2w56g2j69g2c6
ETH - 0xf1c873217032468990D3313da6509D1b813c4671 USDT - 0xf1c873217032468990D3313da6509D1b813c4671 PP - [email protected] (Jan 2, 2015 01:04 PM)SaketSaket Wrote: This might help you.. ive tried this before it clears the combo box of its inventory and nothing is left just except for blank space |
|
|


![[Image: kJ6O0Qk.png]](https://i.imgur.com/kJ6O0Qk.png)