Alex
Fri Jun 10 10:15:35 CDT 2005
Hey all,
James the selectedindex event fires when the index changes or hen the
screen repaints/reactivates. I had the same problem and switched to
using value change event of the combo box to prevent this. Also, on
the form load event I have a boolean value set to true when the screen
is finished loading (just in case you load the combos during load)
because as the combos load the index change event wants to fire. Hope
that helps some.
Sergey Bogdanov wrote:
> I have never encountered with such behaviour. I suppose that the problem
> somewhere else:- can you provide small reproducible example?
>
>
> --
> Sergey Bogdanov
>
http://www.sergeybogdanov.com
>
>
> James Goodman wrote:
> > I am using a combo to select records from a datagrid.
> >
> > If the user selects an item in the combo with the stylus, the events fires
> > three times, and the datagrid.selectedindex switches to the correct value,
> > before reverting to 0 twice.
> >
> > However, if the user selects an item using the directional button on the
> > bottom of the pda and scrolls to a record, the event fires once and the
> > currect record is selected in the grid.
> >
> >
> > Does this sound like intended behaviour?
> > Why would it fire three times when they select something using the stylus,
> > as opposed to once when the select using the scroll button?
> >