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?
RPRamesh Praveen Syncfusion Team July 17, 2003 01:11 PM
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).
NVNik ValeJuly 17, 2003 03:54 PM
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?
NVNik ValeJuly 17, 2003 04:31 PM
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.
NVNik ValeJuly 17, 2003 04:39 PM
I found the answer!
RPRamesh Praveen Syncfusion Team July 18, 2003 09:47 AM