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

Someone will know how to assign focus to a button to load a form?

Thread ID:





99945 Jun 21,2011 07:15 PM UTC Jun 24,2011 12:50 PM UTC WinForms 2
Tags: Tools
Asked On June 21, 2011 07:15 PM UTC

Someone will know how to assign focus to a button to load a form?

Replied On June 21, 2011 07:21 PM UTC

Hi I have an application where you store a datum in the BDD the problem is that when the form loads then the focus should be asigano a button according to the value you saved is what interests me as asinara the focus to that button, thanks

Vallarasu S [Syncfusion]
Replied On June 24, 2011 12:50 PM UTC

Hi Felipe,

Thanks for your interest in Syncfusion products.

You can give focus to any control by invoking 'Focus' member of the control as follows.

this.Load += new EventHandler(Form1_Load);

void Form1_Load(object sender, EventArgs e)
// Process any data here.


Let us know if you need any further assistance.

Vallarasu S.


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