Post by Frank J. PolanDoes the combobox onChangeCommitted actually work.
I'm trying to find a way to fire the onChange event for the first row
in the combobox without adding a dummy first selection
Based on the help for this event:
--------------------
onChangeCommitted will fire in the following cases:
Left click on an item in the listbox (all styles) when the item is
different from the current ComboBox value.
Press Enter with an item highlighted in the dropdown list for a style 1
or 2 ComboBox (or a style 0 or 1 columnComboBox) when the item is
different from the current ComboBox value.
For style 0 or for style 1 or 2 ComboBox (with the dropdown list
closed) (or a style 0 or 1 columnComboBox), press the Up Arrow, Down
Arrow, PgUp, or PgDn keys.
Left click on the ComboBox button for a style 1 or 2 ComboBox (or a
style 0 or 1 columnComboBox) when the dropdown list is open and the
highlighted item in the dropdown list is different from the current
ComboBox value.
onChangeCommitted() will not fire for a style 1 or 2 ComboBox (or a
style 0 or 1 columnComboBox) when the dropdown list is open and the Up
Arrow, Down Arrow, PgUp, or PgDn keys are pressed. (Note that this is
different from the onChange() event which does fire in these cases).
onChangeCommitted() fires only after the ComboBox's value property has
been updated with the selected value.
When the dropdown list closes, either onChangeCommitted will fire or
onChangeCancel will fire, not both.
--------------------
It most likely depends on the Combobox Style, and how you're selecting
the value ...
Ken
--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/
*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase/dBASEBooks.htm
http://www.goldenstag.net/dbase