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.

How to search Last focussed control in a set of controls. In C# .

Thread ID:





72045 Feb 28,2008 12:42 AM Mar 17,2008 05:02 AM Windows Forms 1
Tags: FAQ
Asked On February 28, 2008 12:42 AM

How to search Last focussed control in a set of controls. In C# .

Administrator [Syncfusion]
Replied On March 17, 2008 05:02 AM

Hi Sunny,

The best way to get the last focused control in a form or a set of controls is to iterate through the controls and use the controls[i].Focused property to determine if it is the last focused control.

Please refer the sample in the below location that illustrates the above.
http://websamples.syncfusion.com/samples/ F72045/main.htm

Please let me know if this helps.


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.