TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Tess
NA
3
0
Change tabPage tab from another form
Jan 26 2007 6:44 PM
Hello,
I wonder if it's possible to change which tabPage on a tabControl has focus from another form. I'd like a different tabPage to be visible on the child form depending on which option is chosen from the Main form. Does anyone have any suggestions?
Here's what I have so far-- just a loop through to get the control. But how can I specify that the second tabPage in should be visible? The tabPage property does not appear to be available.
Thanks for any advice.
Tess
frmDetail
myForm =
new
frmDetail
();
foreach
(
Control
c
in
myForm.Controls)
{
if
(c.Name ==
"tabControlDetail"
)
{ ?
}
}
myForm.Show();
Reply
Answers (
0
)
Re-Building Error
Need Help with Properties in C#