Jump to content

ComboBox wont show on windows form

- - - - -

  • Please log in to reply
2 replies to this topic

#1
guerrilla123

guerrilla123

    Newbie

  • Members
  • Pip
  • 2 posts
Hello Everyone,

I have a windows form and I want to add a drop down menu so I dragged a combobox control onto the page, then clicked edit and entered all the values I wanted.

When I click play to test the form, the combobox dissapears from the form. I checked and it is set to visible so I really don't know what to do. I have looked at all properties to try and see what it is but I am coming up blank and its getting really frustrating.

Can someone give me some advice on what else I should check?

Many thanks,

#2
guerrilla123

guerrilla123

    Newbie

  • Members
  • Pip
  • 2 posts
It seems preview wasn't updating but using an old version. I changed background colour of form and it suddenly appeared with other changes. Weird, guess its a bug in VS.

#3
zoranh

zoranh

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 207 posts
Have you been doing something with generated code? For example, can you find Form.Controls.Add(combobox) call? Does control ever appear on the form when you start the application?




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users