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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Loss of Focus issue with PopupControlContainer

Thread ID:





39813 Jan 18,2006 07:50 PM UTC Feb 22,2006 07:59 PM UTC WinForms 7
Tags: Tools
Dave Sausville
Asked On January 18, 2006 07:50 PM UTC

I''ve noticed that when using a PopupControlContainer, the main dialog losses focus when one of the controls within the popup has focus. This causes an extremely ugly flicker (main app title bar goes grey) as focus shifts from my main app, to the popup, and then back to the main app. This issue is easy to see in your own PopupControlContainerDemo project. Is there anyway to prevent this flicker? Thanks, Dave Sausville

Mano J [Syncfusion]
Replied On January 20, 2006 02:13 PM UTC

Hi Dave, Sorry for the inconvenience caused. This behavior is by design of PopupControlContainer. PopupControlContainer acts as a separate container and hence form lose its focus when controls inside PopupControlContainer receives focus. Regards, Mano

Dave Sausville
Replied On January 20, 2006 03:45 PM UTC

Any suggestions for an alternative solution?

Anupama Roy [Syncfusion]
Replied On January 21, 2006 08:05 AM UTC

Hi Dave, Could you please let us know which version of Essential Studio you are having? Regards, Anu.

Administrator [Syncfusion]
Replied On January 21, 2006 01:22 PM UTC

Hi You can achieve through the show method of the popupcontrol.But the problem is you should handle the closing operations explicitely using the hide method. to show popup Point p=this.popupControlContainer1.ParentControl.Location; p.Y=p.X+this.popupControlContainer1.ParentControl.Height ; popupControlContainer1.Location=p; popupControlContainer1.Show(); you can use the leave,validated events for closing the popup good luck

Dave Sausville
Replied On January 23, 2006 10:15 PM UTC

Using 3.2.1 Thanks for the .Show() suggestion but that didn''t work. I replaced the my ShowPopup() with your suggestion, but the popup did not display.

Administrator [Syncfusion]
Replied On January 25, 2006 03:27 AM UTC

Hi sorry . there is some mistake in the line p.Y=p.X+this.popupControlContainer1.ParentControl.Height ; so please change to p.Y=p.Y+this.popupControlContainer1.ParentControl.Height ; Best of luck >Using 3.2.1 > >Thanks for the .Show() suggestion but that didn''t work. I replaced the my ShowPopup() with your suggestion, but the popup did not display.

Jose Lacson
Replied On February 22, 2006 07:59 PM UTC

Is there a solution to this problem?


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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