|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
limiting combobox....Hi,
I would like to limit the options that users select in a combobox. I have the values in the list already and only want those values as a choice. I've not found a way to do this without writing code for it, i would have thought that there would have been a option to do this from the properities? Thanks, Brian Do you mean that you do not want the user to type their own list item for
the combobox? In that case, make sure the DropDownStyle property is set to DropDownList. Show quoteHide quote "Brian" <bsgallatin@community.nospam> wrote in message news:eYknLpv6JHA.3860@TK2MSFTNGP05.phx.gbl... > Hi, > I would like to limit the options that users select in a combobox. I have > the values in the list already and only want those values as a choice. > I've not found a way to do this without writing code for it, i would have > thought that there would have been a option to do this from the > properities? > Thanks, > Brian > Brian,
You can do that using databinding, but you don't write much more about what your goal is than to use the combobox. Cor Show quoteHide quote "Brian" <bsgallatin@community.nospam> wrote in message news:eYknLpv6JHA.3860@TK2MSFTNGP05.phx.gbl... > Hi, > I would like to limit the options that users select in a combobox. I have > the values in the list already and only want those values as a choice. > I've not found a way to do this without writing code for it, i would have > thought that there would have been a option to do this from the > properities? > Thanks, > Brian > Hello Cor and James...
My goal is to have a combobox, that only has values I've added to it... and the user is limited to those values. It would be nice... some users like to use the kb and start typing and have it auto fill and tab out.. and some users just use the mouse. Show quoteHide quote "Cor Ligthert[MVP]" <Notmyfirstn***@planet.nl> wrote in message news:%23m3Kazz6JHA.5780@TK2MSFTNGP04.phx.gbl... > Brian, > > You can do that using databinding, but you don't write much more about > what your goal is than to use the combobox. > > Cor > > "Brian" <bsgallatin@community.nospam> wrote in message > news:eYknLpv6JHA.3860@TK2MSFTNGP05.phx.gbl... >> Hi, >> I would like to limit the options that users select in a combobox. I >> have the values in the list already and only want those values as a >> choice. I've not found a way to do this without writing code for it, i >> would have thought that there would have been a option to do this from >> the properities? >> Thanks, >> Brian >> > In that case the DropDownStyle property setting of DropDownList is what you
need. Show quoteHide quote "Brian" <bsgallatin@community.nospam> wrote in message news:eUbsmv46JHA.4864@TK2MSFTNGP03.phx.gbl... > Hello Cor and James... > My goal is to have a combobox, that only has values I've added to it... > and the user is limited to those values. It would be nice... some users > like to use the kb and start typing and have it auto fill and tab out.. > and some users just use the mouse. > Brian,
Since version 2.0 that exist standard, it is called autocomplete http://msdn.microsoft.com/en-us/library/system.windows.forms.combobox.autocompletemode.aspx Cor Show quoteHide quote "Brian" <bsgallatin@community.nospam> wrote in message news:eUbsmv46JHA.4864@TK2MSFTNGP03.phx.gbl... > Hello Cor and James... > My goal is to have a combobox, that only has values I've added to it... > and the user is limited to those values. It would be nice... some users > like to use the kb and start typing and have it auto fill and tab out.. > and some users just use the mouse. > > "Cor Ligthert[MVP]" <Notmyfirstn***@planet.nl> wrote in message > news:%23m3Kazz6JHA.5780@TK2MSFTNGP04.phx.gbl... >> Brian, >> >> You can do that using databinding, but you don't write much more about >> what your goal is than to use the combobox. >> >> Cor >> >> "Brian" <bsgallatin@community.nospam> wrote in message >> news:eYknLpv6JHA.3860@TK2MSFTNGP05.phx.gbl... >>> Hi, >>> I would like to limit the options that users select in a combobox. I >>> have the values in the list already and only want those values as a >>> choice. I've not found a way to do this without writing code for it, i >>> would have thought that there would have been a option to do this from >>> the properities? >>> Thanks, >>> Brian >>> >> > > duh... don't know how i missed that...
Show quoteHide quote "Cor Ligthert[MVP]" <Notmyfirstn***@planet.nl> wrote in message news:eoJors%236JHA.4100@TK2MSFTNGP06.phx.gbl... > Brian, > > Since version 2.0 that exist standard, it is called autocomplete > > http://msdn.microsoft.com/en-us/library/system.windows.forms.combobox.autocompletemode.aspx > > Cor > > "Brian" <bsgallatin@community.nospam> wrote in message > news:eUbsmv46JHA.4864@TK2MSFTNGP03.phx.gbl... >> Hello Cor and James... >> My goal is to have a combobox, that only has values I've added to it... >> and the user is limited to those values. It would be nice... some users >> like to use the kb and start typing and have it auto fill and tab out.. >> and some users just use the mouse. >> >> "Cor Ligthert[MVP]" <Notmyfirstn***@planet.nl> wrote in message >> news:%23m3Kazz6JHA.5780@TK2MSFTNGP04.phx.gbl... >>> Brian, >>> >>> You can do that using databinding, but you don't write much more about >>> what your goal is than to use the combobox. >>> >>> Cor >>> >>> "Brian" <bsgallatin@community.nospam> wrote in message >>> news:eYknLpv6JHA.3860@TK2MSFTNGP05.phx.gbl... >>>> Hi, >>>> I would like to limit the options that users select in a combobox. I >>>> have the values in the list already and only want those values as a >>>> choice. I've not found a way to do this without writing code for it, i >>>> would have thought that there would have been a option to do this from >>>> the properities? >>>> Thanks, >>>> Brian >>>> >>> >> >> >
Enable/Disable windows update
vb.net app not finding application configuration file on Windows 2003 Server Standard Problem with Windows Server 2003 Standard R2 Formatting Text on a textbox Not as 'explicit' as I thought --- What am I missing A question about a failing regular expression Is this Normal? Error adding a data provider to a datagridview control Pass Variable At Design Time mcisendstring stereo problem |
|||||||||||||||||||||||