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 » Developing U++ » UppHub » TabBar. Uninitialized member
Re: TabBar. Uninitialized member [message #21444 is a reply to message #20822] Wed, 20 May 2009 15:26 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3366
Registered: August 2008
Senior Veteran
Hello all

I fully agree with Mindtraveller

Mindtraveller wrote on Fri, 10 April 2009 18:19

A little proposal.
Each tab corresponds to some object. Adding a tab is made with adding some Value to TabBar internal list. Most of time this Value is String, which is drawn inside tab.
So imagine that user`s made something with one of controls associated with current tab. What do I do?
1) First of all, I pass my internal objects Vector to determine which of them corresponds to current tab
2) Do some action

I think it will be better to add tabs with a pair of (Value,Value) (like in DropList). One may hold "title" information (like String) while another will hold some reference info (like index, pointer or event One<MyTabbedClass>).


I am using TabBar for opening files. To manage them I need full path but I would like to put in tab String only the file name.

Now as far as I know this is not possible so I have to put the full path in the tab String.

Best regards
Koldo


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cairo
Next Topic: OfficeAutomation documented
Goto Forum:
  


Current Time: Sun May 26 23:21:12 CEST 2024

Total time taken to generate the page: 0.02759 seconds