Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows Forms
  4. Uneditable ComboBox (C#) [modified] [solved]

Uneditable ComboBox (C#) [modified] [solved]

Scheduled Pinned Locked Moved Windows Forms
csharphelpquestion
2 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    ruanr
    wrote on last edited by
    #1

    Hi, I don't want my user to be able to type in a new item into my combobox, but I can't seem to find a property to set this. Seems logical that there should be one though, is there? edit: I realize that a listbox would be an option, but I want to have a combo box styled control for this application. edit 2: Problem solved, for future reference: set DropDownStyle to DropDownList (rather than just DropDown) Thanks (anyway) -- modified at 5:53 Thursday 5th July, 2007

    O 1 Reply Last reply
    0
    • R ruanr

      Hi, I don't want my user to be able to type in a new item into my combobox, but I can't seem to find a property to set this. Seems logical that there should be one though, is there? edit: I realize that a listbox would be an option, but I want to have a combo box styled control for this application. edit 2: Problem solved, for future reference: set DropDownStyle to DropDownList (rather than just DropDown) Thanks (anyway) -- modified at 5:53 Thursday 5th July, 2007

      O Offline
      O Offline
      originSH
      wrote on last edited by
      #2

      You want to know how to set the style of the drop down? or indeed the DropDownStyle? :P http://msdn2.microsoft.com/en-us/library/system.windows.forms.combobox.dropdownstyle(VS.71).aspx[^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups