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.

Moving Bar

Thread ID:

Created:

Updated:

Platform:

Replies:

23608 Jan 15,2005 04:17 PM Jan 18,2005 12:45 AM Windows Forms 3
loading
Tags: Tools
Administrator [Syncfusion]
Asked On January 15, 2005 04:17 PM

I''ve got an XPMenus "Bar" (unsing MainFrameBarManager/ChildFrameBarManager). I need to indent it. So, instead of the bar starting at X=0, I want it to start further to the right. [This is for a demo very soon, so any help is appreciated; I''m willing to subclass and hack...] Thank you very much, Dan

Administrator [Syncfusion]
Replied On January 17, 2005 09:09 AM

Hi Dan, To create a gap between the start of a Bar and the first BarItem, you should use a StaticBarItem. By placing a StaticBarItem as the first item on the Bar, you can push the first actual item to the right. A long string of spaces would normally be sufficient. However, MainFrameBarManager compresses a large number of spaces, so you''ll need to include a tab on the end of the string. The following statement will do this for you. this.staticBarItem1.Text = " \t"; Regards, Gregory Austin Syncfusion, Inc.

Administrator [Syncfusion]
Replied On January 17, 2005 01:38 PM

Hi Dan, If you wish to set an offset to the XPMenus.Bar, you could do so as by using the CommandBar''s RowOffSet property as shown below : CommandBar cmdbar1 = this.mainFrameBarManager1.GetBarControl(this.bar1); // Set any desired offset cmdbar1.RowOffset = 150; Please let me know if this meets your requirements. We appreciate your interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Administrator [Syncfusion]
Replied On January 18, 2005 12:45 AM

Yes, thank you. It might be nice to be able to set a global offset for the bar. Doing this timetimes re-arranges things if you have multiple bars on the toolbar. Thanks, Dan

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.

;