L
Lee
VS 2005 w/SP1 / XP Pro w/all service packs
One of our forms has a Tab-control onto which is dynamically added a
number of other controls. When the added controls are ComboBoxes or
CheckListBoxes, their OnClick event is fired before their OnEnter. For
other controls on the Tab (e.g. ListBox) the events occur in the
expected order -- Enter and then Click. On other forms where the
controls are added to a Tab-control at design-time, the Enter / Click
also occur in the expected order. Does anyone have any idea why on this
form the Click (and MouseClick) event would precede the Enter event?
One of our forms has a Tab-control onto which is dynamically added a
number of other controls. When the added controls are ComboBoxes or
CheckListBoxes, their OnClick event is fired before their OnEnter. For
other controls on the Tab (e.g. ListBox) the events occur in the
expected order -- Enter and then Click. On other forms where the
controls are added to a Tab-control at design-time, the Enter / Click
also occur in the expected order. Does anyone have any idea why on this
form the Click (and MouseClick) event would precede the Enter event?