Ariez Posted December 16, 2003 Posted December 16, 2003 Divil, i'm experimenting a bit with your amazing SandBar and I have 2 questions: 1) I haven't seen any merging property (MergeOrder, MergeType) to merge to MDIparent forms... is this possible some other way? 2) There was a TextBoxItem in the DotNetToolBar that was very handy to me, is this functionality gone with the SandBar? Thanks a lot for your input. Quote Auto-suggestion: "I have a life" Uncontroled thinking: "So what the.."
*Gurus* divil Posted December 17, 2003 *Gurus* Posted December 17, 2003 1) There is no automatic menu/toolbar merging yet, I am still deciding on the best way to implement this. 2) It's gone by default, but it virtually a one-liner to create. Check out the FAQs section on the SandBar website for a full example of hosting a control in a toolbar. http://www.divil.co.uk/net/controls/sandbar/ Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Ariez Posted December 17, 2003 Author Posted December 17, 2003 Thanks a lot Divil, I'm using your DotNetToolBar, and menuProvider for now and merging works just fine there. And if I may, i woud have another question (or 2) for you... :) I'm working in a MDI environement and trying to implement a Tabbed MDI interface using your DocumentManager. (i'm pretty much using all of your widgets to sum it up) Each child form that the tabpage has to host has his own menu and toolbar that needs merging to MDI parent form (like it does in the studio) 1) the tabpage does not accept the form. You said in another post that the form TopLevel property has to be set to false. I haven't fount that property. 2) if i can host it in it, what do i do not to loose the "child" behavior vis a vis the parent form (for auto merging) Thank u so much for help... Quote Auto-suggestion: "I have a life" Uncontroled thinking: "So what the.."
*Gurus* divil Posted December 17, 2003 *Gurus* Posted December 17, 2003 1) Use the TopLevel property. It's there. 2) Merging won't work unless you're dealing with mdi child forms. It's best not to use Forms with DocumentManager, that's not what it was created for. You can still design controls with Visual Studio using the UserControl designer. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Malfunction Posted December 26, 2003 Posted December 26, 2003 I have some questions regarding the sandbar control, too. Although they're more basic I haven't found any hints in the FAQ or this board. In the provided demo project the toolbar contains a combobox for fontsize and one for fonttypes. That's exactly what I need and why I'm using the sandbar control. My first problem: The ComboBoxes shouldn't be editable (e.g. you can't insert your own fonttype but only choose from the given list same goes with fontsizes as my app has to have a certain maximum). I switched DropDownStyle to DropDownList making the ComboBoxTextfield uneditable. Trouble is the field is empty until I chose on item. My first question: Am I using a wrong property or do I have to code this behaviour? If I'll have to code it would it be better (for some reasons a nubee like me doesn't see right away) to make an item apear to a ComboBox with DDStyle set to DropDownList or make the field uneditable to a ComboBox with DDStyle set to DropDown? Second question: The standard toolbar contained a ButtonList each button could be set to ToggleButton (e.g. Fontstyle Bold can be set on or off). Can this be done by some property setting I haven't found in SandBar, too? I know those are basic questions but I'm working on it for two days now :D Quote Debug me...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.