Re: Win32Lib 0.57.1 onChange bug (test code)
It really doesn't matter to me what happens when, as long as
1) it's consistent
2) it's well-documented
3) there is at least one way of getting the data the user intends to be
acted upon
Michael J. Sabal
>>> ddparnell at bigpond.com 04/20/02 09:30AM >>>
When the onChange event fires for a Combo type control
if triggered by dropdown selection or up/down arrows,
getText() returns the data that was displayed in the edit box
before
the new item was selected,
getItem() returns the new selection
if triggered by typing into the edit box,
getText() returns the data as typed in so far and displayed in
the
edit box,
getItem() for the first keystroke returns the data that was
selected
before typing begun and for subsequent keystrokes it returns ""
Is this what people want?
|
Not Categorized, Please Help
|
|