CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2007
    Posts
    85

    How to set focus on tab pages

    Hi all,

    I have three tab pages in a tab control. By default the first tab page is focus and can see it when the application runs. I want to change that focus to another tab page. How can I do that.

    Help really appreciate.
    Thanks.

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: How to set focus on tab pages

    Set the SelectedIndex property to the desired tab index.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured