J
Jim
Hi all,
I wrote a simple custom that contains several buttons. Everything went
fine with the control and I am using it on several forms in another project.
The problem occurred when I activated the MouseEnter event (used to be
called onMouseOver?) on the control. I discovered that the MouseEnter event
applies to the custom control's form, but not the buttons within the
control. Several of the buttons are at the edge of the control. If I
moused over my custom control at one of the buttons, then the MouseEnter
event did not fire (because it does not exist for the button). If I moused
over my custom control between buttons, then the MouseEnter event fires
normally.
Is there a way to make the MouseEnter event apply to my entire custom
control? One possibility is to activate the event for every control within
the custom control's container, but this would be very inefficient and I am
concerned about performance. Mouse enter and leave events would be firing
as the mouse was moved over my control.
Thanks,
Jim
I wrote a simple custom that contains several buttons. Everything went
fine with the control and I am using it on several forms in another project.
The problem occurred when I activated the MouseEnter event (used to be
called onMouseOver?) on the control. I discovered that the MouseEnter event
applies to the custom control's form, but not the buttons within the
control. Several of the buttons are at the edge of the control. If I
moused over my custom control at one of the buttons, then the MouseEnter
event did not fire (because it does not exist for the button). If I moused
over my custom control between buttons, then the MouseEnter event fires
normally.
Is there a way to make the MouseEnter event apply to my entire custom
control? One possibility is to activate the event for every control within
the custom control's container, but this would be very inefficient and I am
concerned about performance. Mouse enter and leave events would be firing
as the mouse was moved over my control.
Thanks,
Jim