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.
Unfortunately, activation email could not send to your email. Please try again.

Possible bug/workaround: How to consume the delete character?

Thread ID:

Created:

Updated:

Platform:

Replies:

51869 Nov 15,2006 01:24 PM Nov 29,2006 08:53 AM Windows Forms 4
loading
Tags: EditControl
David Union
Asked On November 15, 2006 01:24 PM

I'm seeing some behavior where when I host the edit control in a pop-up window and hit the delete, it deletes and then posts the delete back to the containing application, rather than consuming it. I need it to consume the delete. What event can I hook to do this manually, or is this just a bug?

Current version, Edit component, Winforms.
.NET 1.1.

Administrator [Syncfusion]
Replied On November 22, 2006 12:22 AM

Hi dunion,

Our apologies for the delayed response. I have tested for this issue using a sample and was not able to see the problem. This is how I went about testing this issue :

1.Run the attached sample.

2.Click EditControl.

3.EditControl is displayed in a window.

4.Press Delete.

5.The delete is not posted to the containing application.

Please let me know if I am missing something.

Thanks for your patience.

Regards,
Ebenezer.P

sample

David Union
Replied On November 22, 2006 02:59 PM

I can set up a webex where I can show you the behavior, so it is still happening. We're off the next few days but if you let me know what's the easiest time for you I can potentially do that over those days or even the holiday weekend potentially, I'm willing to adjust to get this done asap!

I'll look at the sample and see what you did.

>Hi dunion,

Our apologies for the delayed response. I have tested for this issue using a sample and was not able to see the problem. This is how I went about testing this issue :

1.Run the attached sample.

2.Click EditControl.

3.EditControl is displayed in a window.

4.Press Delete.

5.The delete is not posted to the containing application.

Please let me know if I am missing something.

Thanks for your patience.

Regards,
Ebenezer.P

sample

David Union
Replied On November 22, 2006 03:07 PM

Unfortunately you didn't reproduce anything even close to the described scenario.

I have wrapped the Syncfusion edit into a custom control, you should first have to do that. Then I hosted this control on a winform in the same control library. Then I created another custom control (non-visual) in the same control library that can instantiate an instance of this winform. I exposed COM interfaces to this set of controls.

To replicate this problem, you should do that. Then I called that COM interface from an MFC application, using the created TLB file and using the IID's of the methods to invoke the instance of this form object via the non-graphical control. You can't directly invoke the graphical control in MFC unless you embed it on the MFC dialog, which I didn't want to do - so that was why I did it this way.

Please let me know if you can get me a fix for this bug after you reproduce it. Also, we can set up a webex so I can show it to you if you want.
It may be an artifact of the MFC event loop so there may be a more general .NET way around this, I haven't yet had time to look into this.



>Hi dunion,

Our apologies for the delayed response. I have tested for this issue using a sample and was not able to see the problem. This is how I went about testing this issue :

1.Run the attached sample.

2.Click EditControl.

3.EditControl is displayed in a window.

4.Press Delete.

5.The delete is not posted to the containing application.

Please let me know if I am missing something.

Thanks for your patience.

Regards,
Ebenezer.P

sample

Administrator [Syncfusion]
Replied On November 29, 2006 08:53 AM

Hi dunion,

Our apologies for the delayed response. Your Direct-Trac incident 29728 in this regard has been updated. Please refer to my response there
and let me know if you need any other information.

Thanks for your patience.

Regards,
Ebenezer.P

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.

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.

;