Click here to Skip to main content
15,881,882 members
Home / Discussions / C#
   

C#

 
GeneralRe: Platform invoke??? Pin
David Stone10-Oct-02 15:53
sitebuilderDavid Stone10-Oct-02 15:53 
GeneralRe: Platform invoke??? Pin
Vu Truong9-Oct-02 18:21
Vu Truong9-Oct-02 18:21 
GeneralProgrammatically change a tab control that exists on another form. Pin
Derek Smigelski8-Oct-02 11:52
Derek Smigelski8-Oct-02 11:52 
GeneralRe: Programmatically change a tab control that exists on another form. Pin
David Stone8-Oct-02 12:25
sitebuilderDavid Stone8-Oct-02 12:25 
GeneralRe: Programmatically change a tab control that exists on another form. Pin
Derek Smigelski8-Oct-02 13:45
Derek Smigelski8-Oct-02 13:45 
GeneralRe: Programmatically change a tab control that exists on another form. Pin
leppie8-Oct-02 14:50
leppie8-Oct-02 14:50 
GeneralRe: Programmatically change a tab control that exists on another form. Pin
Derek Smigelski8-Oct-02 14:58
Derek Smigelski8-Oct-02 14:58 
GeneralRe: Programmatically change a tab control that exists on another form. Pin
leppie8-Oct-02 15:11
leppie8-Oct-02 15:11 
OK, thats a bit better Smile | :)

treeView.AfterSelect += new TreeViewEventHandler( NodeSelected );

void NodeSelected(TreeViewEventArgs e)
{
  tabControl.SelectedIndex = e.Node.Index;
}


Now this will select the 2nd tab if u select the second node. You can do your own mapping to your liking Smile | :)

Before you criticize a man, walk a mile in his shoes. That way, when you do criticize him, you'll be a mile away and have his shoes.
GeneralRe: Programmatically change a tab control that exists on another form. Pin
Derek Smigelski8-Oct-02 15:32
Derek Smigelski8-Oct-02 15:32 
GeneralRe: Programmatically change a tab control that exists on another form. Pin
Gaul8-Oct-02 16:59
Gaul8-Oct-02 16:59 
QuestionStatus Bar Color? Pin
Anonymous8-Oct-02 11:12
Anonymous8-Oct-02 11:12 
AnswerRe: Status Bar Color? Pin
David Stone8-Oct-02 11:41
sitebuilderDavid Stone8-Oct-02 11:41 
AnswerRe: Status Bar Color? Pin
James T. Johnson8-Oct-02 13:10
James T. Johnson8-Oct-02 13:10 
GeneralRe: Status Bar Color? Pin
Anonymous9-Oct-02 3:05
Anonymous9-Oct-02 3:05 
GeneralRe: Status Bar Color? Pin
Anonymous10-Oct-02 2:40
Anonymous10-Oct-02 2:40 
GeneralCreate Exchange account from existing NT-account Pin
Ola Carlsson8-Oct-02 4:22
Ola Carlsson8-Oct-02 4:22 
Generalputting the exe on a server Pin
shmuelt8-Oct-02 0:33
shmuelt8-Oct-02 0:33 
GeneralRe: putting the exe on a server Pin
James T. Johnson8-Oct-02 7:26
James T. Johnson8-Oct-02 7:26 
QuestionRun time compilation with ASSEMBLIES?!? Pin
EdgarBM7-Oct-02 23:16
EdgarBM7-Oct-02 23:16 
AnswerRe: Run time compilation with ASSEMBLIES?!? Pin
Stephane Rodriguez.7-Oct-02 23:34
Stephane Rodriguez.7-Oct-02 23:34 
GeneralRe: Run time compilation with ASSEMBLIES?!? ** GREAT! ** Pin
EdgarBM7-Oct-02 23:41
EdgarBM7-Oct-02 23:41 
GeneralAn interesting question I think Pin
TheFLC7-Oct-02 23:15
TheFLC7-Oct-02 23:15 
GeneralRe: An interesting question I think Pin
Stephane Rodriguez.7-Oct-02 23:25
Stephane Rodriguez.7-Oct-02 23:25 
GeneralRe: An interesting question I think Pin
TheFLC7-Oct-02 23:50
TheFLC7-Oct-02 23:50 
GeneralRe: An interesting question I think Pin
leppie8-Oct-02 2:44
leppie8-Oct-02 2:44 

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.