Click here to Skip to main content
15,914,642 members
Home / Discussions / C#
   

C#

 
AnswerRe: Invoking DirectX Pin
Pete O'Hanlon11-Dec-06 23:48
mvePete O'Hanlon11-Dec-06 23:48 
Questionwildcard search Pin
Giri K11-Dec-06 19:45
Giri K11-Dec-06 19:45 
QuestionMaking a control visible on every tabpage Pin
JoaoPe11-Dec-06 19:28
JoaoPe11-Dec-06 19:28 
AnswerRe: Making a control visible on every tabpage Pin
quiteSmart11-Dec-06 20:02
quiteSmart11-Dec-06 20:02 
GeneralRe: Making a control visible on every tabpage Pin
karam chandrabose11-Dec-06 20:15
karam chandrabose11-Dec-06 20:15 
GeneralRe: Making a control visible on every tabpage Pin
quiteSmart11-Dec-06 20:24
quiteSmart11-Dec-06 20:24 
GeneralRe: Making a control visible on every tabpage Pin
karam chandrabose11-Dec-06 20:34
karam chandrabose11-Dec-06 20:34 
AnswerRe: Making a control visible on every tabpage Pin
Martin#11-Dec-06 20:23
Martin#11-Dec-06 20:23 
Hello,

You would have to do that dynamicaly.
The TabControl has an SelectedIndexChanged Event.

System.Windows.Forms.Control.ControlCollection oldContainer;

//constructor code
YoureTabControl.SelectedIndexChanged+=new EventHandler(TabControl_SelectedIndexChanged);

//TODO: set oldContainer to Start TabPage Controls(where your Control is placed at first).
//

private void TabControl_SelectedIndexChanged(object sender, EventArgs e)
{
    if(oldContainer!=null)
    {
        oldContainer.Remove(YoureControl);
    }
    YoureTabControl.SelectedTab.Controls.Add(YoureControl);
    oldContainer = YoureTabControl.SelectedTab.Controls;
}


Hope that helps!

All the best,

Martin
AnswerRe: Making a control visible on every tabpage Pin
sanket.sirotiya11-Dec-06 20:45
sanket.sirotiya11-Dec-06 20:45 
JokeRe: Making a control visible on every tabpage Pin
quiteSmart11-Dec-06 20:59
quiteSmart11-Dec-06 20:59 
AnswerRe: Making a control visible on every tabpage Pin
Mairaaj Khan11-Dec-06 21:01
professionalMairaaj Khan11-Dec-06 21:01 
QuestionHow to get old Questions posted by Me Pin
Ravikumar Patra11-Dec-06 19:26
professionalRavikumar Patra11-Dec-06 19:26 
AnswerRe: How to get old Questions posted by Me Pin
Martin#11-Dec-06 19:31
Martin#11-Dec-06 19:31 
GeneralRe: How to get old Questions posted by Me Pin
Ravikumar Patra12-Dec-06 5:12
professionalRavikumar Patra12-Dec-06 5:12 
GeneralRe: How to get old Questions posted by Me Pin
Martin#13-Dec-06 8:14
Martin#13-Dec-06 8:14 
Questionintegrating and resizing the power point viewer 2003 Pin
Ravikumar Patra11-Dec-06 19:17
professionalRavikumar Patra11-Dec-06 19:17 
QuestionWirelss Camera Communication Pin
allenmpcx11-Dec-06 18:56
allenmpcx11-Dec-06 18:56 
QuestionC# Web Browser Control Pin
Bulky Fellow11-Dec-06 18:50
Bulky Fellow11-Dec-06 18:50 
AnswerRe: C# Web Browser Control Pin
sanket.sirotiya11-Dec-06 19:07
sanket.sirotiya11-Dec-06 19:07 
QuestionChanging an application file's icon and app.ico through coding(at runtime) [modified] Pin
GunaChinna11-Dec-06 18:30
GunaChinna11-Dec-06 18:30 
QuestionListbox in DataGridView Pin
Sarvan AL11-Dec-06 18:25
Sarvan AL11-Dec-06 18:25 
AnswerRe: Listbox in DataGridView Pin
Alper Camel17-Dec-06 9:02
Alper Camel17-Dec-06 9:02 
GeneralRe: Listbox in DataGridView Pin
Sarvan AL17-Dec-06 23:08
Sarvan AL17-Dec-06 23:08 
GeneralRe: Listbox in DataGridView Pin
Alper Camel18-Dec-06 0:20
Alper Camel18-Dec-06 0:20 
QuestionSpeech to text in C#. Pin
Syed Mujtaba Hassan11-Dec-06 17:33
Syed Mujtaba Hassan11-Dec-06 17:33 

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.