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. C#
  4. Pop up menu in combobox

Pop up menu in combobox

Scheduled Pinned Locked Moved C#
help
8 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.
  • A Offline
    A Offline
    AnnnS
    wrote on last edited by
    #1

    Can anybody help me in disabling the pop up menu ie . (paste, cut, copy etc) thanx Akhil

    P 1 Reply Last reply
    0
    • A AnnnS

      Can anybody help me in disabling the pop up menu ie . (paste, cut, copy etc) thanx Akhil

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      akhils wrote:

      Can anybody help me in disabling the pop up menu ie . (paste, cut, copy etc)

      Why do you want to do that? Can you elaborate in more detail and maybe someone can help?

      A 1 Reply Last reply
      0
      • P Paul Conrad

        akhils wrote:

        Can anybody help me in disabling the pop up menu ie . (paste, cut, copy etc)

        Why do you want to do that? Can you elaborate in more detail and maybe someone can help?

        A Offline
        A Offline
        AnnnS
        wrote on last edited by
        #3

        hi... thnx for the response in my Application i hav a combo box . i dont want user to enter the values which are not there in the list . so i suppressed the key events . now user is not able to enter the values through key board. But the problem is user is able to right click on it and and cut the values, paste the values etc . can u help me in this problem ??? Akhil

        P R 2 Replies Last reply
        0
        • A AnnnS

          hi... thnx for the response in my Application i hav a combo box . i dont want user to enter the values which are not there in the list . so i suppressed the key events . now user is not able to enter the values through key board. But the problem is user is able to right click on it and and cut the values, paste the values etc . can u help me in this problem ??? Akhil

          P Offline
          P Offline
          Paul Conrad
          wrote on last edited by
          #4

          You might want to look at this article, A Complete Read Only ComboBox[^] Or search this site for read only comboboxes. This might help you and you won't have to worry about trapping mouse events. Hope this helps some, Paul

          1 Reply Last reply
          0
          • A AnnnS

            hi... thnx for the response in my Application i hav a combo box . i dont want user to enter the values which are not there in the list . so i suppressed the key events . now user is not able to enter the values through key board. But the problem is user is able to right click on it and and cut the values, paste the values etc . can u help me in this problem ??? Akhil

            R Offline
            R Offline
            Rahul RK
            wrote on last edited by
            #5

            Hello my friend, Just check "DropDownStyle" property of combobox. Set the property to DropDownList. Rahul Kulkarni

            P 1 Reply Last reply
            0
            • R Rahul RK

              Hello my friend, Just check "DropDownStyle" property of combobox. Set the property to DropDownList. Rahul Kulkarni

              P Offline
              P Offline
              Paul Conrad
              wrote on last edited by
              #6

              RahulRKulkarni wrote:

              Set the property to DropDownList.

              That looks like it works just fine :)

              A 1 Reply Last reply
              0
              • P Paul Conrad

                RahulRKulkarni wrote:

                Set the property to DropDownList.

                That looks like it works just fine :)

                A Offline
                A Offline
                AnnnS
                wrote on last edited by
                #7

                Thanx All for the replies.. let me try it out Akhil :-D

                P 1 Reply Last reply
                0
                • A AnnnS

                  Thanx All for the replies.. let me try it out Akhil :-D

                  P Offline
                  P Offline
                  Paul Conrad
                  wrote on last edited by
                  #8

                  akhils wrote:

                  Thanx All for the replies.. let me try it out

                  Good luck to you :)

                  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