designer form toolstrip

Stimulsoft Reports.NET discussion
J_S
Posts: 49
Joined: Mon Sep 22, 2008 3:10 am
Location: Netherlands

designer form toolstrip

Post 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
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

designer form toolstrip

Post by Alex K. »

Hello,

You can add the StiRibbonDesignerControl on your form with nessesary elements.

Thank you.
J_S
Posts: 49
Joined: Mon Sep 22, 2008 3:10 am
Location: Netherlands

designer form toolstrip

Post 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.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

designer form toolstrip

Post 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.
J_S
Posts: 49
Joined: Mon Sep 22, 2008 3:10 am
Location: Netherlands

designer form toolstrip

Post by J_S »

Sure, see the attachments. I just want the stiribbondesignercontrol looks like the standalone designer.
Attachments
1163.standalonedesigner.jpg
1163.standalonedesigner.jpg (99.24 KiB) Viewed 4382 times
1162.stidesignercontrol.jpg
1162.stidesignercontrol.jpg (88.21 KiB) Viewed 4384 times
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

designer form toolstrip

Post 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.
J_S
Posts: 49
Joined: Mon Sep 22, 2008 3:10 am
Location: Netherlands

designer form toolstrip

Post 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.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

designer form toolstrip

Post by Alex K. »

Hello,

Please check the sample project in attachment.

Thank you.
Attachments
1166.SampleProject.zip
(18.49 KiB) Downloaded 395 times
J_S
Posts: 49
Joined: Mon Sep 22, 2008 3:10 am
Location: Netherlands

designer form toolstrip

Post 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.
Attachments
1168.right.jpg
1168.right.jpg (148.42 KiB) Viewed 4362 times
1167.wrong.jpg
1167.wrong.jpg (63.17 KiB) Viewed 4362 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

designer form toolstrip

Post by Alex K. »

Hello,

Unfortunately, it is not possible.

Thank you.
Post Reply