PC Review


Reply
Thread Tools Rate Thread

Combobox difference in VS.NET 2003

 
 
Lee Moody
Guest
Posts: n/a
 
      8th Sep 2003
I've recently upgraded to VS.NET 2003. I had written
routines to implement an autoselect for a combobox in my
VB.NET 2002 program.

In VB.NET 2002 it worked fine. In 2003 it stopped working
at all.

What I've found is that, within the subroutine I call from
the KeyPress event of the combobox, the SelectionStart
property in 2002 is set to 1, in 2003 it is set to 0 (this
value is set after the first key is pressed for an empty
combobox).

Also, in 2002, the Text property is set to the value of
the new value after the pressed key (i.e. it would include
the key I pressed) and in 2003 it is set to the value
prior to the key press.

Anybody know anything about these behavior changes? Are
there others for other controls?

-Lee
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the difference... and DataSet as datasource for Combobox Uli Netzer Microsoft VB .NET 1 17th Sep 2008 11:09 AM
cascading combobox with a difference - maybe????? Microsoft Microsoft Access Form Coding 2 15th Aug 2008 04:40 PM
Combobox/Listbox Difference =?Utf-8?B?V0xNUGlsb3Q=?= Microsoft Excel Misc 1 21st Nov 2006 01:46 PM
97 v. 2003 difference? =?Utf-8?B?Umljaw==?= Microsoft Access Getting Started 1 12th Apr 2005 08:33 PM
ComboBox: difference between SelectedIndexChanged and SelectionChangeComitted events Jo Vermeulen Microsoft Dot NET Framework Forms 3 26th Jul 2004 08:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:42 AM.