Click here to Skip to main content
15,902,114 members
Home / Discussions / C#
   

C#

 
QuestionHow do I select the "Directory" Pin
Eyungwah1-Feb-07 6:04
Eyungwah1-Feb-07 6:04 
AnswerRe: How do I select the "Directory" Pin
Luc Pattyn1-Feb-07 6:31
sitebuilderLuc Pattyn1-Feb-07 6:31 
QuestionC# equilavent functionality to a C++ Vector Pin
rishid71-Feb-07 5:15
rishid71-Feb-07 5:15 
AnswerRe: C# equilavent functionality to a C++ Vector Pin
Mircea Puiu1-Feb-07 5:30
Mircea Puiu1-Feb-07 5:30 
AnswerRe: C# equilavent functionality to a C++ Vector Pin
Luc Pattyn1-Feb-07 6:37
sitebuilderLuc Pattyn1-Feb-07 6:37 
AnswerRe: C# equilavent functionality to a C++ Vector Pin
Marc Clifton1-Feb-07 7:13
mvaMarc Clifton1-Feb-07 7:13 
Questionhow to put the gradient effect on the BindingNavigator object's bacground in Windows Forms Pin
Rocky#1-Feb-07 5:11
Rocky#1-Feb-07 5:11 
QuestionControls on programmatically added TabPages Pin
jimkeating1-Feb-07 5:09
jimkeating1-Feb-07 5:09 
I'm having trouble understanding how to work with controls (RTBs for example) on TabPages which I've added to the application programmatically.

I have a C# Windows.Form app with a menustrip including std entries, a TabControl to which I'm adding TabPages and a StatusStrip. Simple stuff.

In the event handler for the "New" menu option, I create the new TabPage and add a control like a RichTextBox to it. Works fine so far.

When I try to access the RTB to do something like Copy or Paste by clicking on their menu options, I seem to lose the plot. I can't seem to get this to work. I suspect I've structured the program wrong but not sure how to resolve this. The app compiles but I get "out scope" types of messages when I run it and try to use menu options to access the controls on the TabPages. I'm using VS2005 BTW.

I've tried looking at many other code examples but they are either far to complex for me to easily work out the proper structure (SharpDev for example) or don't do what I'm trying to do so they don't apply to my situation. Some of them probably hold the answer but I'm just to thick to get it Smile | :)

Any help or advice would be greatly appreciated. Thanks

JimKeating
AnswerRe: Controls on programmatically added TabPages Pin
Luc Pattyn1-Feb-07 6:47
sitebuilderLuc Pattyn1-Feb-07 6:47 
GeneralRe: Controls on programmatically added TabPages Pin
jimkeating1-Feb-07 7:15
jimkeating1-Feb-07 7:15 
QuestionDependency issue Pin
Dan Neely1-Feb-07 5:04
Dan Neely1-Feb-07 5:04 
AnswerRe: Dependency issue Pin
Luc Pattyn1-Feb-07 6:59
sitebuilderLuc Pattyn1-Feb-07 6:59 
GeneralRe: Dependency issue Pin
Dan Neely1-Feb-07 7:33
Dan Neely1-Feb-07 7:33 
GeneralRe: Dependency issue Pin
Luc Pattyn1-Feb-07 7:48
sitebuilderLuc Pattyn1-Feb-07 7:48 
QuestionCalling SP from .net Pin
Astricks1-Feb-07 3:43
Astricks1-Feb-07 3:43 
AnswerRe: Calling SP from .net Pin
Michael P Butler1-Feb-07 3:51
Michael P Butler1-Feb-07 3:51 
GeneralRe: Calling SP from .net Pin
Astricks1-Feb-07 3:58
Astricks1-Feb-07 3:58 
GeneralRe: Calling SP from .net Pin
Russell Jones1-Feb-07 22:02
Russell Jones1-Feb-07 22:02 
GeneralRe: Calling SP from .net Pin
Michael P Butler1-Feb-07 23:10
Michael P Butler1-Feb-07 23:10 
AnswerRe: Calling SP from .net Pin
Pete O'Hanlon1-Feb-07 4:38
mvePete O'Hanlon1-Feb-07 4:38 
QuestionResponse.Redirect Pin
acodman1-Feb-07 3:33
acodman1-Feb-07 3:33 
AnswerRe: Response.Redirect Pin
ednrgc1-Feb-07 3:35
ednrgc1-Feb-07 3:35 
AnswerRe: Response.Redirect Pin
Luc Pattyn1-Feb-07 3:37
sitebuilderLuc Pattyn1-Feb-07 3:37 
AnswerRe: Response.Redirect Pin
Michael P Butler1-Feb-07 3:45
Michael P Butler1-Feb-07 3:45 
QuestionXML Pin
snouto1-Feb-07 3:30
snouto1-Feb-07 3:30 

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.