We recently upgraded to version 126.96.36.199. I''ve noticed a bit of a problem in the following situation:
I have a PopupControlContainer that contains a ListBox. The ListBox handles the MouseUp event. Following our upgrade the MouseUp occurs after the popup has disappeared and I can no longer determine what item was clicked.
Is there something I have set to prevent the popup from hiding before the mouse message gets to the child ListBox?
ADAdministrator Syncfusion Team May 27, 2005 02:54 PM
Setting IgnoreMouseMessages to true should prevent the Popup from closing before the MouseUp message. You can then close the Popup yourself in the event handler.
PMPeter Moss June 6, 2005 09:27 AM
Greg and Justin,
We have also experienced significant changes to PopupControlContainer behavior since upgrading to 188.8.131.52. I read Greg''s response and tried setting IgnoreMouseMessages = true, but that doesn''t work. I have a simple app that demonstrates the problem. I have a PopupControlContainer that contains a ListBox and I handle the ListBox.MouseUp event. In the handler, I call PopupControlContainer.HidePopup(Syncfusion.Windows.Forms.PopupCloseType.Done). I then handle the PopupControlContainer.CloseUp event and check for e.PopupCloseType = Done. In 184.108.40.206, the CloseUp event occurs BEFORE the MouseUp event and PopupCloseType = Deactivated. So this is a significant change in behavior.
There are also a few other problems related to the changes such as now you can''t close the popup unless you select an item, or hit Esc. It used to be that you could click anywhere else and have the popup close. This no longer works.
I will be filing a Direct-Track incident and I''ll attach my sample app that illustrates the problem.
JDJustin DeCourcyJune 17, 2005 01:01 PM
Was there a solution or workaround for this? IgnoreMouseMessages did not do it.
ADAdministrator Syncfusion Team June 17, 2005 05:54 PM
There has been an internal change to PopupControlContainer recently that may have fixed this problem. I''ll look into it and see if I can find anything.
JDJustin DeCourcyJune 21, 2005 01:35 PM
Were you able to find anything? Time is getting tight - I need to know if I need to go in another direction on a UI feature or if there will be some sort of fix or workaround. Thanks.
> There has been an internal change to PopupControlContainer recently that may have fixed this problem. I''ll look into it and see if I can find anything.
ADAdministrator Syncfusion Team June 21, 2005 04:49 PM
There was a bug in IgnoreMouseMessages that was corrected (Defect #322) recently. It''s possible that it corrected this problem.
As I''ve been unable to reproduce this problem here, would it be possible for you to send me a sample that does so, so that I can test it to see if your problem has been corrected? Your cooperation would be greatly appreciated.