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
|