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.

Focus on XPToolBar item

Thread ID:

Created:

Updated:

Platform:

Replies:

61599 May 29,2007 05:09 PM Jul 11,2007 06:14 AM Windows Forms 3
loading
Tags: Tools
Oleg Ogurok
Asked On May 29, 2007 05:09 PM

Hi there,

Is it possible to set focus on a particular toolbar button?

Thanks.

JayaLakshmi [Syncfusion]
Replied On May 30, 2007 03:10 AM

Hi Oleg,

Thanks for your interest in Syncfusion products.

Unfortunately, it is not possible to set focus on the baritem of XPToolbar. We will create feature request and intimate to our development team in this regard. Please let me know if you have any other questions.

Thanks for your patience.

Regards,
Jaya

Gili Korman Golander
Replied On July 2, 2007 07:53 AM

Is there an estimate of when this feature will be available?

JayaLakshmi [Syncfusion]
Replied On July 11, 2007 06:14 AM

Hi Gili,

Sorry for the delay in getting back to you.

The further analysis on your requirement results in using SetCurrentTrackItem method of XPToolbar BarRender class.

The following code illustrates this.

[C#]

// To set focus on 3rd BarItem
BarRenderer br = this.xpToolBar1.Renderer as BarRenderer;
br.SetCurrentTrackItem(2, false, true);

The following sample illustrates this.

http://websamples.syncfusion.com/samples/Tools.Windows/F61599/main.htm

Kindly let me know if this helps.

Thanks for your patience.

Regards,
Jaya

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.

;