Making events Private in Inheirted Controls

G

Guest

I have a control that inheirts from "Panel". I want to prevent the user from
having access to the MoueUp event. I tried making a sub in my control that
handles MyBase.MouseUp but still this event shows up as an event the user can
use. Is there anyway to prevent users of this control from getting access to
events such as MouseUp. Thanks.
 
G

Guest

Yes, I understand and it doesn't take any action even thought the user has
programmed some stuff for the MouseUp event. However, I wanted to actually
hide the mouseup event from the user in the design mode to where he couldn't
select the MouseUp event from the Declarations section so I wouldn't have to
explain this in the documentation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top