We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

EditControl :: Inheritance

Thread ID:

Created:

Updated:

Platform:

Replies:

16128 Jul 6,2004 05:04 PM UTC Jul 10,2004 01:04 AM UTC WinForms 2
loading
Tags: EditControl
Alex Nesterov
Asked On July 6, 2004 05:04 PM UTC

Hi! I have inherited the editControl class. And in my new class I am trying to override the OnContextToolTipPopup method: protected override void OnContextTooltipPopup(ContextTooltipPopupEventArgs e) {// som code} But this doesn''t work. It means that the debugger doesn''t step into this method and the event ContextToolTipPopup is never raised. It is interesting that when I override OnClick it workd very well. What is the problem?

Administrator [Syncfusion]
Replied On July 9, 2004 06:16 PM UTC

Hi eisernWolf Here is a sample in which MyEditControl is a derived Edit control. The OnContextToolTipPopup is overriden in this derived control. If you move your mouse over using System.Windows.Forms , the overriden ContextToolTipPopup event is raised and a MessageBox is displayed. Regards Arun

Administrator [Syncfusion]
Replied On July 10, 2004 01:04 AM UTC

Hi, Arun! Thank you very much for you sample. Ive noticed you had called base constructor. Maybe thats why everything is OK - I havent learnt the code yet, just took a glance... With Kind Regards, eisernWolf

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;