StrataFrame Forum

Creating Main Form Like CRM Sample

http://forum.strataframe.net/Topic14275.aspx

By Terry Bottorff - 2/11/2008

I added a standard SF form to my project, I then added a gradient form header and set it's Dock to Top and then I added a menustrip to the form and when I set it's Dock to Top it kicks the gradient header out of the way. How can you add the gradient header, menustrip and toolstrip to the form and get them to behave like your CRMMain Form? Thanks in advance.
By Trent L. Taylor - 2/11/2008

This is just .NET ordering.  Select the Toolstrip and then Bring To Front or Send To Back to adjust the docking order.
By StrataFrame Team - 2/11/2008

You have to adjust the z-index of the items on the form... which ever item is to the "back" will dock first (or it might be the other way around... can't remember).  Just try selecting the gradient form header and click the "send to back" option.  If that doesn't fix it, then select the menu strip and send it to the back.  If you have several items on the form, then just keep sending them to back/bringing them to the front until you get the form you look the way you want.

Another helpful tool within Visual Studio is the Document Outline.  It will show you all of the items on the form and their z-index and let you drag them around within the tool.

By Terry Bottorff - 2/11/2008

Thanks so much for the help. I will do it....
By Trent L. Taylor - 2/11/2008

Glad to help Smile