Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Data Binding / November 2005

Tip: Looking for answers? Try searching our database.

Combobox simple Question -- MVP please Help --

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mf_sina - 24 Nov 2005 05:40 GMT
Hi all!

I have a textbox which has a read-only proprety. which it's text can be
selected and copied but not edited.
but i didn't find readonly property for a combobox. setting enabled property
to false will make it disabled. the text can't be selected or copied.

What's the best way to hanle with this about combobox?

I'm using VB .Net 2003
Best wishes...
AdrianJMartin - 24 Nov 2005 11:06 GMT
in the KeyPress event handler, set e.Handled = true   You probably should
allow some key presses ( CTRL-C , Arrows etc) check the e.KeyChar property
and don't set handled.

> Hi all!
>
[quoted text clipped - 8 lines]
> I'm using VB .Net 2003
> Best wishes...
Sericinus hunter - 27 Nov 2005 15:56 GMT
> Hi all!
>
[quoted text clipped - 4 lines]
>
> What's the best way to hanle with this about combobox?

   Just out of curiosity. Why would you need read-only combobox?
I don't really see any sensible behavior of such a control from
the user experience point of view.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.