\r\n\r\n
Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET Interface and Graphics > Combobox MaxLength property...


\r\n \r\n
 
 
Thread Tools Display Modes

\r\n\r\n\r\n
Is there a way to prevent a user from typing a single alphanumeric character into a combobox. I want to restrict the user so that all they can do is select one of the choices in the dropdown list. I\'ve set the MaxLength property of the combobox to 1 (as 0 seems to allow an unlimited amount of text to be entered), but would like to prohibit any text from being entered. I must be missing the boat on this somewhere!!
\r\n
\r\nThanks for any tips.....
\r\n \r\n\r\n
\r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n Reply With Quote\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n'; pd[753209] = '\r\n\r\n \r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n
\r\n
\r\n  \r\n #2  \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n Old\r\n \r\n 05-21-2004, 02:10 PM\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
EracMan\'s Avatar\r\n\r\n
\r\n \r\n EracMan\r\n EracMan is offline\r\n\r\n\r\n
Prev Previous Post   Next Post Next
  #1  
Old 05-21-2004, 01:45 PM
Dubber Dubber is offline
Newcomer
 
Join Date: Aug 2003
Posts: 7
Default Combobox MaxLength property...


Is there a way to prevent a user from typing a single alphanumeric character into a combobox. I want to restrict the user so that all they can do is select one of the choices in the dropdown list. I've set the MaxLength property of the combobox to 1 (as 0 seems to allow an unlimited amount of text to be entered), but would like to prohibit any text from being entered. I must be missing the boat on this somewhere!!

Thanks for any tips.....
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trayicon with popup menu & multiline tooltip Hose API 6 09-23-2005 08:23 AM
Can't understand readout of File randomblink File I/O and Registry 1 11-13-2003 07:29 AM
Class Building Dan Foord General 6 01-13-2003 10:42 AM
Open an associated Text Document knoxitis General 19 05-01-2002 11:26 PM
Combo makes RTB`s visible? golash General 2 11-27-2000 02:16 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->