Results 1 to 2 of 2

Thread: TabControl

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2002
    Posts
    79

    TabControl

    In VB 6.0 it was possible to jump to one TabPage by using ALT plus a defined key, which had an underscore. E. g. by pressing ALT + P I could directly jump to a TabPage "Print".

    Until now I did not find anything like that in VB.NET. Can you help me?

  2. #2
    New Member
    Join Date
    Jan 2003
    Posts
    6
    I don't know if there is a "friendly" way to do this, but you could always trap all keys and test for the ALT combos you want.

    Then, set the tab controls selected index property

    tab.SelectedIndex = n

    note that the selectedindex number is 0-based. the first tab is 0.

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