Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Vertical tabs in U++
Vertical tabs in U++ [message #38735] Fri, 11 January 2013 04:29 Go to next message
lectus is currently offline  lectus
Messages: 329
Registered: September 2006
Location: Brazil
Senior Member
Is there any way to have this in U++?

They act like vertical tabs, but they're also like buttons that get checked:

http://i.imgur.com/LNIh1.jpg

Thanks
Re: Vertical tabs in U++ [message #38738 is a reply to message #38735] Fri, 11 January 2013 06:13 Go to previous messageGo to next message
navi is currently offline  navi
Messages: 107
Registered: February 2012
Location: Sydney, Australia
Experienced Member
there must be. As TheIDE has a option to show the file tabs left or right.
Setup>Environment>Editor>File Tabs : Right or Left option.

regards
Navi.
Re: Vertical tabs in U++ [message #38739 is a reply to message #38738] Fri, 11 January 2013 07:22 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1758
Registered: August 2008
Location: Czech Republic
Senior Contributor

Yes, with TabBar, you can put the tabs anywhere you want, see this picture Smile

The button-like experience should be possible to achieve using custom styling.

Best regards,
Honza
Re: Vertical tabs in U++ [message #38745 is a reply to message #38735] Fri, 11 January 2013 14:27 Go to previous messageGo to next message
lectus is currently offline  lectus
Messages: 329
Registered: September 2006
Location: Brazil
Senior Member
I figured I can simulate this behavior using ButtonOption.

Is there a way to load a layout inside a frame, similar to TabCtrl but without the tabs?
Re: Vertical tabs in U++ [message #38746 is a reply to message #38745] Fri, 11 January 2013 21:21 Go to previous messageGo to next message
navi is currently offline  navi
Messages: 107
Registered: February 2012
Location: Sydney, Australia
Experienced Member
lectus wrote on Fri, 11 January 2013 14:27

I figured
Is there a way to load a layout inside a frame, similar to TabCtrl but without the tabs?


Yes. use ParentCtrl instead of TopWindow when instantiating the layout templates. see the address book example.

    WithModifyLayout<ParentCtrl> modify;
    WithSearchLayout<ParentCtrl> search;

[Updated on: Fri, 11 January 2013 21:22]

Report message to a moderator

Re: Vertical tabs in U++ [message #38753 is a reply to message #38746] Sun, 13 January 2013 15:32 Go to previous messageGo to next message
lectus is currently offline  lectus
Messages: 329
Registered: September 2006
Location: Brazil
Senior Member
navi wrote on Fri, 11 January 2013 15:21

lectus wrote on Fri, 11 January 2013 14:27

I figured
Is there a way to load a layout inside a frame, similar to TabCtrl but without the tabs?


Yes. use ParentCtrl instead of TopWindow when instantiating the layout templates. see the address book example.

    WithModifyLayout<ParentCtrl> modify;
    WithSearchLayout<ParentCtrl> search;




Thanks. I'm trying something like this, but the layout is getting placed in the wrong place:
http://www46.zippyshare.com/v/86444831/file.html

Please take a look!
Re: Vertical tabs in U++ [message #38757 is a reply to message #38735] Sun, 13 January 2013 23:08 Go to previous messageGo to next message
navi is currently offline  navi
Messages: 107
Registered: February 2012
Location: Sydney, Australia
Experienced Member
Quote:

Thanks. I'm trying something like this, but the layout is getting placed in the wrong place:
http://www46.zippyshare.com/v/86444831/file.html

Please take a look!


I usually do it this way. see the attached zip. i design the tab layout in layout designer like you. but I create the template class in code instead of layout designer. this way i get to call the CtrlLayout(*this) in its contractor. and add the tabs to the window using this<<tab1<<tab2; and the rest all same like you. and it just works.
Re: Vertical tabs in U++ [message #38760 is a reply to message #38735] Mon, 14 January 2013 15:19 Go to previous message
lectus is currently offline  lectus
Messages: 329
Registered: September 2006
Location: Brazil
Senior Member
Thank you!
Works great! You need to do it manually in code but no problem. I changed from the designer to text to copy the positions, then it was easy to do it in code.

This works like these dialogs we find in Microsoft programs:

http://i.msdn.microsoft.com/dynimg/IC28901.png

http://msdn.microsoft.com/en-us/library/windows/desktop/aa51 1493.aspx

Users seem to like this type of GUI.

[Updated on: Mon, 14 January 2013 15:24]

Report message to a moderator

Previous Topic: [SOLVE] Compile Error for OleDB with MSC9 Compiler
Next Topic: How to use THISBACK1 in this case?
Goto Forum:
  


Current Time: Thu Dec 12 08:02:09 CET 2019

Total time taken to generate the page: 0.01713 seconds