I am using 126.96.36.199 XPMenus with mainframe barmanager on win2k/xp. XPMenu states (toolbar positions, visiblitity, customizations etc.) are not saved when I exit and come back to my application.
1. Pleass run the attached sample.
2. Right click on menubar and turn on ''Edit'' toolbar.
3. Close and launch the application again.
4. Notice that ''Edit'' toolbar is no longer visible.
NewMainForm never worked. Form1 worked for a while. Now both of them are not working. What am I doing wrong?
I can not move to 2.0 right now.
ADAdministrator Syncfusion Team April 29, 2004 03:10 PM
Please refer to the sample attachedp that shows how menu state, positional and customization information can be saved and restored. Let me know if you have any questions.
ADAdministrator Syncfusion Team April 30, 2004 06:43 AM
I tried to implement Save/LoadToolbarState() like you mentioned in the sample. It is working in your sample. But, it does not work in my attached sample. It is creating the binary file. But after starting the program again, the toolbars are all gone.
What am I doing wrong?
ADAdministrator Syncfusion Team May 3, 2004 05:42 AM
Thanks for the modified sample. I could see that the menus and toolbars did not show up in your application. I am afraid, I was unable to trace the error, but simply removing the existing menus and toolbars, and re-adding them resolved this issue. Now the customization and state information of the menus can be saved/restored correctly. Please refer to the modified_sample attached here, and let me know if this works for you. Thanks for choosing Syncfusion products.