Soutlook Style sidebar and tabs


Author
Message
Coolbreeze
Coolbreeze
StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)
Group: Forum Members
Posts: 14, Visits: 59
Hello one and all

I am new here and so I am seeking your help. How would I be able to get an outlook style sidebar as attached done in strataframe? If anyone have the sample code it would be appreciated.

Also, how are tabs done in strataframe?

Attachments
menu.png (285 views, 14.00 KB)
Replies
Teddy Jensen
Teddy Jensen
StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)StrataFrame User (152 reputation)
Group: StrataFrame Users
Posts: 52, Visits: 8K
I use the ThemedLinkMenu as sidebar for navigation in my applications. In the attached screenshot I have used a ThemedSplitContainer and two ThemedLinkMenus to get a somewhat similar look, and still only use the Strataframe controls.

The menu captions are in Danish, but hopefully You can get some inspiration.

/Teddy

Attachments
Sidebar.png (357 views, 19.00 KB)
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
As I thought about this more, using a UserControl is overkill. Then I see Teddy's post, which is very close to what I was thinking. BigGrin As Teddy suggested just build it on the form and I'd do it very similar to how Teddy is doing it.



I'd start with a ThemedPanel to hold everything else, and to make resizing of the entire set of controls easy.



Then I'd try adding how ever many labels I needed for buttons (I think I'd get more control over formatting of the labels than buttons...but buttons could work too). I'd dock these controls to the bottom.



Then I'd add a PanelManager and dock it to fill.



For each button, add a page to the Panel Manager. Add code in Click event handler of each button to show the appropriate page.



Finally, on each page add a ThemedLinkMenu and add appropriate items. Then add handlers to those items to actually do what you need done.



Hopefully that made sense and will get you started!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Coolbreeze - 15 Years Ago
Trent L. Taylor - 15 Years Ago
Greg McGuffey - 15 Years Ago
Teddy Jensen - 15 Years Ago
Greg McGuffey - 15 Years Ago
Coolbreeze - 15 Years Ago
Trent L. Taylor - 15 Years Ago
Coolbreeze - 15 Years Ago
Trent L. Taylor - 15 Years Ago
Coolbreeze - 15 Years Ago
Trent L. Taylor - 15 Years Ago
Teddy Jensen - 15 Years Ago
                     Thanks for all of your help and comments, guys! :)
Trent L. Taylor - 15 Years Ago
Coolbreeze - 15 Years Ago
Coolbreeze - 15 Years Ago
Teddy Jensen - 15 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search