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. Visual Basic
  4. combo box proeblem

combo box proeblem

Scheduled Pinned Locked Moved Visual Basic
help
5 Posts 3 Posters 0 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.
  • I Offline
    I Offline
    iramg
    wrote on last edited by
    #1

    hello i am facing a very small problem related to combo box actually i want to disable text input in combo box like when i run my form u can select an item and u can also modify it although u cant save the changes but why it happens i want to disable not the combobox but only the text writting cursor so u cant write any thing in it so plz help me as soon as possible thanks

    L 1 Reply Last reply
    0
    • I iramg

      hello i am facing a very small problem related to combo box actually i want to disable text input in combo box like when i run my form u can select an item and u can also modify it although u cant save the changes but why it happens i want to disable not the combobox but only the text writting cursor so u cant write any thing in it so plz help me as soon as possible thanks

      L Offline
      L Offline
      Leeland
      wrote on last edited by
      #2

      Set the combo box's "DropDownStyle" to "DropDownList"

      I 1 Reply Last reply
      0
      • L Leeland

        Set the combo box's "DropDownStyle" to "DropDownList"

        I Offline
        I Offline
        iramg
        wrote on last edited by
        #3

        ya it works but it don'nt show the display text like "select country" how i can do it

        L _ 2 Replies Last reply
        0
        • I iramg

          ya it works but it don'nt show the display text like "select country" how i can do it

          L Offline
          L Offline
          Leeland
          wrote on last edited by
          #4

          Set your Text Property to "Select Country"

          1 Reply Last reply
          0
          • I iramg

            ya it works but it don'nt show the display text like "select country" how i can do it

            _ Offline
            _ Offline
            _AK_
            wrote on last edited by
            #5

            Hi, Directly you wont be able to assign that. What you need to do is when you are binding it at that itself you add that to your datasource. Best Regards, Apurva Kaushal

            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