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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB Control Not Catching Clicks

Status
Not open for further replies.

DMAN3021

Programmer
Aug 20, 2002
40
CA
I've got a little problem.

I've create a control to replace a button. The control itself contains two pictures, and a couple of labels. The labels change depending on the type of control, and the pics change wether I am clicking down on the control or not.

The problem is that I am attempting to write code for the Click event of the control, but the control doesnt seem to catch the clicks done on the Labels and pictures.

So how do I communicate these clicks to the control I've created? Is there some sort of override or something?

Thanks,

DMan...
 
Did you write "Handles MyControl.Click" at the end of the prototype of sub that handles the event?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top