Page 1 of 2
designer form toolstrip
Posted: Thu Jul 14, 2011 2:34 am
by J_S
Is is possible to use the ribbon designer control without the form 'toolstrip' with the close, minimize, form title etc? And if not, maybe you could add a property? :grinder:
We use the default Windows 7 form border in our applications, and it is also the default style for the Microsoft Office 2010 suite.
Regards
designer form toolstrip
Posted: Thu Jul 14, 2011 4:50 am
by Alex K.
Hello,
You can add the StiRibbonDesignerControl on your form with nessesary elements.
Thank you.
designer form toolstrip
Posted: Thu Jul 14, 2011 8:08 am
by J_S
Aleksey wrote:
You can add the StiRibbonDesignerControl on your form with nessesary elements.
I added this control to my form, but it forces me to set the form border style to none, otherwise I get the default form border AND the control border.
I only want to use the default form caption and minimize/maximize/close buttons and not the styled caption/buttons within this control.
designer form toolstrip
Posted: Fri Jul 15, 2011 2:33 am
by HighAley
Hello.
J_S wrote:I added this control to my form, but it forces me to set the form border style to none, otherwise I get the default form border AND the control border.
I only want to use the default form caption and minimize/maximize/close buttons and not the styled caption/buttons within this control.
Sorry, maybe we did not exactly understood your question. Could you explain your issue in more details and, if possible, send us a sample and screenshots.
Thank you.
designer form toolstrip
Posted: Mon Jul 18, 2011 7:07 am
by J_S
Sure, see the attachments. I just want the stiribbondesignercontrol looks like the standalone designer.
designer form toolstrip
Posted: Mon Jul 18, 2011 12:08 pm
by Jan
Hello,
Please inherit your form from Stimulsoft.Controls.Win.DotNetBar.Office2007RibbonForm. After then you can place designer control on your form.
Thank you.
designer form toolstrip
Posted: Tue Jul 19, 2011 1:47 am
by J_S
Could you provide me an example? I cannot get it to work. The styled form bar still appears instead of the default one.
designer form toolstrip
Posted: Wed Jul 20, 2011 8:42 am
by Alex K.
Hello,
Please check the sample project in attachment.
Thank you.
designer form toolstrip
Posted: Wed Jul 20, 2011 9:26 am
by J_S
[quote="Aleksey"]Please check the sample project in attachment.quote]
Thank you for your help, but that was not what I meant. The example still gives the styled office form border, but I want the default Windows form border. See the attachments of my earlier post.
Look at the differences between the form top borders in the designer.exe you provide with your product, and the example you gave.
Regards
[edit]
See the two screenshots. The first one is your example with the office 2010 theme (what by the way only appeared when I added this line: RibbonDesigner.StyleManager.ManagerStyle = eStyle.Office2010Blue, it did not work with StiOptions.Windows.GlobalGuiStyle = StiGlobalGuiStyle.Office2010Blue, what I expected). The second screenshot is what I try to achieve.
designer form toolstrip
Posted: Thu Jul 21, 2011 1:34 am
by Alex K.
Hello,
Unfortunately, it is not possible.
Thank you.