Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Click event doesn't fire when...

Status
Not open for further replies.

keyser456

IS-IT--Management
Nov 21, 2003
73
US
I have several large controls contained in a Panel control. If one of these controls isn't completely visible (eg. its too long to fit on the panel) when I click on it the control's click event does NOT fire sometimes. Instead the panel will move it's scrollbars so that the control is more visible. Is there any way to turn off this behavior so the click event will fire each and every time? Thanks.
 
Implement handlers for the Resize event for the panel and for its controls or take a look of common events for the panel and other controls. Some of them are intercepted by the Panel instead by a child control.
-obislavu-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top