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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

XPToolbar Problems

Thread ID:





13367 Apr 27,2004 03:01 PM UTC Apr 27,2004 08:28 PM UTC WinForms 2
Tags: Tools
Nik Vale
Asked On April 27, 2004 03:01 PM UTC

Hi. Since upgrading to I have been having problems with the XPToolBar. I have included a small example with screenshots to illustrate my problem. 1. Resizing Form Creates Second XPToolBar Row If the XPToolBar is Docked at the Top of the form then when the form is resized to be smaller some of the buttons on the XPToolBar are moved onto a second row. In previous versions the buttons were simply hidden. Is it possible to control this behaviour and change it so that a second row is NOT added. 2. Second Row Never Disappears. Having resized the form forcing the XPToolbar to create a second row for some buttons the form is resized to be larger. The buttons are moved back up to the first row but the second row does NOT disappear. 3. Docking to the LEFT or RIGHT. In the old version the buttons would automatically appear vertically however in this version they remain horizontal. Thanks in advance. Nik

Administrator [Syncfusion]
Replied On April 27, 2004 05:55 PM UTC

Hi Nik, We appreciate your feedback on this issue. These are known shortcomings of the XPToolBar and all of them have been fixed internally. The fixes will be available in the next release of Essential Suite. For now, you could use the following workarounds. 1. Instead of docking it on top, you could place it adjacent to the top edge of the form set its anchor property to right. This will hide the BarItems when the form is resized and will not create a second row. 2. For this, you could handle the XPToolBar''s Layou event as follows : private void xpToolBar1_Layout(object sender, System.Windows.Forms.LayoutEventArgs e) { this.xpToolBar1.Size = this.xpToolBar1.PreferredSize; } I have modified your sample accordingly and have attached it here. 3. Even in previous versions like v2.0.3.0 the XPToolBar always displayed the BarItem text horizontally (refer screenshot). Only the XPMenus.Bar can display it vertically when its BarStyle.RotateWhenVertical is set. Thanks for choosing Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Nik Vale
Replied On April 27, 2004 08:28 PM UTC

Guru, Thanks for help. Your suggestions helped me resolve my problems. Keep up the good work. Nik


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

Live Chat Icon For mobile
Live Chat Icon