How to make a combobox as dropdownlist that stay white?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Big P
    New Member
    • Jan 2011
    • 11

    #1

    How to make a combobox as dropdownlist that stay white?

    I need to make a combobox as dropdownlist that stays white.
    the combobox becomes gray or silver when i change it as dropdownlist.
    My question is:

    How to keep the combobox as dropdownlist in the same color "WHITE"
    if i have to change the drawmode then please codes to add items then.
    tks for your help.

    My Combobox as dropdownlist should be like this picture:
    Attached Files
  • Guido Geurs
    Recognized Expert Contributor
    • Oct 2009
    • 767

    #2
    It don't happens on my VB6.
    Is it possible to attach Your code in bytes ?

    Comment

    • Big P
      New Member
      • Jan 2011
      • 11

      #3
      Public Class Form1

      Private Sub Form1_Load(ByVa l sender As System.Object, ByVal e As System.EventArg s) Handles MyBase.Load
      Me.ComboBox1.Dr opDownStyle = ComboBoxStyle.D ropDownList
      Me.ComboBox1.It ems.Add("Video 1")
      Me.ComboBox1.It ems.Add("Video 2")
      Me.ComboBox1.It ems.Add("Video 3")
      End Sub
      End Class

      Comment

      • Guido Geurs
        Recognized Expert Contributor
        • Oct 2009
        • 767

        #4
        Is this VB6 ?

        Comment

        Working...