Click here to Skip to main content
15,918,742 members
Home / Discussions / C#
   

C#

 
GeneralDynamically naming tabs Pin
thepersonof1-Dec-04 7:49
thepersonof1-Dec-04 7:49 
GeneralRe: Dynamically naming tabs Pin
RB@Emphasys1-Dec-04 9:23
RB@Emphasys1-Dec-04 9:23 
So i take it you're adding and removing tabs from the tab control, and you want to reuse numbers that have been removed up until the point of adding a new one? Is this correct? If so, couldn't you do something really simple, like create a collection (I.E. arraylist or something a little less intensive), and add numbers to it as they become available. Then remove them when you reuse them. So, you would just have a removetabpage function that would store the number of the tabpage you're removing, say 55, in an arraylist. When you created a new page, you could simply get the first number in the "discarded number" arraylist, assuming there is one, and remove it from the "discarded number" list. I'm sure someone else will have some answer thats a little more efficient, but I think this would work as a simple solution.
Generalcreating a list view like windows explorer view Pin
iffi9921-Dec-04 7:15
iffi9921-Dec-04 7:15 
GeneralRegex / String formatting question Pin
julian_l1-Dec-04 7:05
julian_l1-Dec-04 7:05 
GeneralRe: Regex / String formatting question Pin
Anonymous1-Dec-04 10:10
Anonymous1-Dec-04 10:10 
GeneralRe: Regex / String formatting question Pin
julian_l2-Dec-04 6:17
julian_l2-Dec-04 6:17 
GeneralRe: Regex / String formatting question Pin
Bitwise Gamgee1-Dec-04 11:53
Bitwise Gamgee1-Dec-04 11:53 
GeneralRe: Regex / String formatting question Pin
julian_l2-Dec-04 5:57
julian_l2-Dec-04 5:57 
Generalforeign key Pin
Mauricio Ritter1-Dec-04 4:20
Mauricio Ritter1-Dec-04 4:20 
GeneralRe: foreign key Pin
Heath Stewart1-Dec-04 13:30
protectorHeath Stewart1-Dec-04 13:30 
GeneralRe: video capture Pin
Hugo Migneron1-Dec-04 4:07
Hugo Migneron1-Dec-04 4:07 
GeneralRe: video capture Pin
Mridang Agarwalla2-Dec-04 2:26
Mridang Agarwalla2-Dec-04 2:26 
GeneralRe: video capture Pin
Hugo Migneron2-Dec-04 3:47
Hugo Migneron2-Dec-04 3:47 
General.Net Remoting Pin
Bjoern.adG1-Dec-04 3:39
Bjoern.adG1-Dec-04 3:39 
GeneralRe: .Net Remoting Pin
Judah Gabriel Himango1-Dec-04 4:45
sponsorJudah Gabriel Himango1-Dec-04 4:45 
Questionbad word filter, stemming, stopword, Windows System? Pin
god4k1-Dec-04 2:25
god4k1-Dec-04 2:25 
AnswerRe: bad word filter, stemming, stopword, Windows System? Pin
Dave Kreskowiak1-Dec-04 4:31
mveDave Kreskowiak1-Dec-04 4:31 
GeneralCode Analyser Tool Pin
Renjithvr1-Dec-04 2:14
Renjithvr1-Dec-04 2:14 
GeneralRe: Code Analyser Tool Pin
Judah Gabriel Himango1-Dec-04 4:48
sponsorJudah Gabriel Himango1-Dec-04 4:48 
Generallog in to hotmail Pin
Mridang Agarwalla1-Dec-04 1:20
Mridang Agarwalla1-Dec-04 1:20 
GeneralHosts file Pin
Mridang Agarwalla1-Dec-04 1:05
Mridang Agarwalla1-Dec-04 1:05 
GeneralRe: Hosts file Pin
Dave Kreskowiak1-Dec-04 4:27
mveDave Kreskowiak1-Dec-04 4:27 
GeneralRe: Hosts file Pin
Mridang Agarwalla2-Dec-04 1:32
Mridang Agarwalla2-Dec-04 1:32 
Generalurl cloaking Pin
Mridang Agarwalla1-Dec-04 0:56
Mridang Agarwalla1-Dec-04 0:56 
GeneralRe: url cloaking Pin
Daniel Turini1-Dec-04 1:26
Daniel Turini1-Dec-04 1:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.