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

Persist Toolbar Visibility

Thread ID:

Created:

Updated:

Platform:

Replies:

5776 Jul 17,2003 01:18 PM UTC Jul 18,2003 02:47 PM UTC WinForms 5
loading
Tags: Tools
Nik Vale
Asked On July 17, 2003 01:18 PM UTC

All of the other toolbar properties are persisted such as the position and which buttons are displayed. However, my application doesn't seem to remember which toolbars were displayed - does Syncfusion support this?

Ramesh Praveen [Syncfusion]
Replied On July 17, 2003 06:11 PM UTC

Yes, the toolbar visibility is also persisted by default. Could you please verify this in our samples and provide us a way to reproduce this issue (if you do see it happen in our samples). Thanks Praveen

Nik Vale
Replied On July 17, 2003 08:54 PM UTC

I was able to resolve my problem. I had configured my toolbars to be hidden in the designer (because I don't want them to be displayed by default). However, it seems that processing the persistant data will only cause toolbars to be HIDDEN. So even though the persistant data says that a toolbar is NOT HIDDEN it will not actually display the toolbar as it assumes that it is already displayed. Does that make sense?

Nik Vale
Replied On July 17, 2003 09:31 PM UTC

I am having trouble hiding toolbars programmatically... I use the following code to hide the toolbar the first time my application is run... this.MyBar.BarStyle &= ~BarStyle.Visible; This hides the toolbar but it doesn't seem to update the persistant storage so the next time I run my application the toolbar is visible again. Any help is always appreciated.

Nik Vale
Replied On July 17, 2003 09:39 PM UTC

I found the answer! myMainFrameBarManager.GetCommandBarManager().SetBarVisibility(myBar, false);

Ramesh Praveen [Syncfusion]
Replied On July 18, 2003 02:47 PM UTC

Nik, Yes, we addressed that in our KB. -Praveen

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.

Please sign in to access our forum

or the page will be automatically redirected to 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

;