Click here to Skip to main content
15,903,203 members
Home / Discussions / C#
   

C#

 
AnswerRe: PictureBox in mdi form Pin
Ed.Poore20-Jul-06 12:50
Ed.Poore20-Jul-06 12:50 
QuestionRe: PictureBox in mdi form Pin
Saamir20-Jul-06 16:45
Saamir20-Jul-06 16:45 
AnswerRe: PictureBox in mdi form Pin
Ed.Poore20-Jul-06 21:07
Ed.Poore20-Jul-06 21:07 
Question.insert is inserting 2 entries instead of one... please help. Pin
jaman4dbz20-Jul-06 11:02
jaman4dbz20-Jul-06 11:02 
AnswerRe: .insert is inserting 2 entries instead of one... please help. Pin
Ed.Poore20-Jul-06 12:48
Ed.Poore20-Jul-06 12:48 
AnswerRe: .insert is inserting 2 entries instead of one... please help. Pin
Alexander Wiseman20-Jul-06 13:33
Alexander Wiseman20-Jul-06 13:33 
AnswerRe: .insert is inserting 2 entries instead of one... please help. Pin
jaman4dbz20-Jul-06 14:09
jaman4dbz20-Jul-06 14:09 
GeneralRe: .insert is inserting 2 entries instead of one... please help. Pin
Alexander Wiseman20-Jul-06 14:26
Alexander Wiseman20-Jul-06 14:26 
I'm glad you figured it out!

You said in the first part of your response:

"i tried changing it to new tabpage(); then making the tabpage equal to my blanktabpage"

Setting the tabpage equal to blanktabpage would defeat the purpose, because you are changing what your variable refers to. The main point was to create a wholly new tab page and add that to the tab control. I see that is what you did, which is great.

As far as two tab pages getting added, I have an idea about it. I did not want to mention it in my previous post because I wasn't sure if this was the issue. Here goes:

I was thinking that perhaps you did not actually have two tab pages being added, but rather the first tab page in your control changing to look exactly the same as the other tab page, since you only really have one tab page in memory. Thus, when your function got called, the tab page in memory got changed to look exactly the same as the "new" tab page you were adding. You could verify this by checking how many tab pages total there are before and after the call to your function. If there are two more than before, then I am simply wrong. If there is only one more tab page total, then I think what I said is happening. If you get a chance, could you check it out, I would like to know. This is a really interesting issue!

Sincerely,
Alexander Wiseman
GeneralRe: .insert is inserting 2 entries instead of one... please help. Pin
jaman4dbz21-Jul-06 6:21
jaman4dbz21-Jul-06 6:21 
QuestionSecurity Permissions Pin
JuanAlbertoMD20-Jul-06 10:21
JuanAlbertoMD20-Jul-06 10:21 
QuestionAutomatic variable name incrementation [modified] Pin
The Big Bunny20-Jul-06 10:21
The Big Bunny20-Jul-06 10:21 
AnswerRe: Automatic variable name incrementation Pin
ankita patel20-Jul-06 11:00
ankita patel20-Jul-06 11:00 
AnswerRe: Automatic variable name incrementation Pin
led mike20-Jul-06 11:06
led mike20-Jul-06 11:06 
GeneralRe: Automatic variable name incrementation Pin
The Big Bunny21-Jul-06 8:51
The Big Bunny21-Jul-06 8:51 
Questionhelp file issue Pin
_tasleem20-Jul-06 9:42
_tasleem20-Jul-06 9:42 
AnswerRe: help file issue Pin
Ed.Poore20-Jul-06 12:41
Ed.Poore20-Jul-06 12:41 
GeneralRe: help file issue Pin
_tasleem21-Jul-06 1:06
_tasleem21-Jul-06 1:06 
GeneralRe: help file issue Pin
Ed.Poore21-Jul-06 12:09
Ed.Poore21-Jul-06 12:09 
GeneralRe: help file issue Pin
_tasleem21-Jul-06 20:30
_tasleem21-Jul-06 20:30 
QuestionDocumentation of DLL(.net) in design time Pin
mosquets20-Jul-06 9:16
mosquets20-Jul-06 9:16 
AnswerRe: Documentation of DLL(.net) in design time Pin
Ed.Poore20-Jul-06 12:37
Ed.Poore20-Jul-06 12:37 
QuestionRe: Documentation of DLL(.net) in design time Pin
mosquets21-Jul-06 4:11
mosquets21-Jul-06 4:11 
AnswerRe: Documentation of DLL(.net) in design time Pin
Ed.Poore21-Jul-06 12:10
Ed.Poore21-Jul-06 12:10 
GeneralRe: Documentation of DLL(.net) in design time Pin
mosquets24-Jul-06 5:01
mosquets24-Jul-06 5:01 
GeneralRe: Documentation of DLL(.net) in design time Pin
Ed.Poore24-Jul-06 6:01
Ed.Poore24-Jul-06 6:01 

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.