If I had to guess, it would be related to the differences between
setting focus on those controls versus other ones.
--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
> Anyone have any thoughts on why OnClick would precede OnEnter?
>
[quoted text clipped - 12 lines]
> > // Lee Silver
> > // Information Concepts Inc.
Lee - 15 Jan 2007 11:47 GMT
Bryan:
In all cases we are setting focus by clicking on the control with the
mouse.
As a point of clarification... When I wrote OnClick and OnEnter I
really meant the Enter and Click events; we are not overriding the the
On*** methods.
For a ComboBox the problem manifests itself as follows: The first time
the control's selection-arrow is clicked nothing happens; the second
and subsequent times click the selection-arrow causes the drop-down
list to appear. The drop-down list should appear *every* time the
selection-arrow is clicked.
--
// Lee Silver
// Information Concepts Inc.
> If I had to guess, it would be related to the differences between
> setting focus on those controls versus other ones.
[quoted text clipped - 20 lines]
> > > // Lee Silver
> > > // Information Concepts Inc.
Lee - 16 Jan 2007 17:53 GMT
Solution:
In the Click-event, if and only if the Enter-event has not been
entered, set the DroppedDown property to True.
--
// Lee Silver
// Information Concepts Inc.
> Bryan:
>
[quoted text clipped - 39 lines]
> > > > // Lee Silver
> > > > // Information Concepts Inc.