override event

  • Thread starter Thread starter Xavier Valdés
  • Start date Start date
X

Xavier Valdés

Hi all,

I'm making a class that inherist from listview one. The problem is I do not
want mybase's doubleclick
to fire but my class to handle this event. Is this possible? How? thanks a
lot,
Xavi
 
Hi all,

I'm making a class that inherist from listview one. The problem is I do not
want mybase's doubleclick
to fire but my class to handle this event. Is this possible? How? thanks a
lot,

You need to override the "OnDoubleClick" method. However, not calling
the base class' OnDoubleClick is considered "bad practice" and could
cause problems with the behavior of the control.
 
Thanks, Patrick

Patrick Steele said:
You need to override the "OnDoubleClick" method. However, not calling
the base class' OnDoubleClick is considered "bad practice" and could
cause problems with the behavior of the control.
 
Back
Top