Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. Tab pages

Tab pages

Scheduled Pinned Locked Moved Visual Basic
help
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Paps2
    wrote on last edited by
    #1

    Hi all, I would like to know if we could set a hot key to open a specific tab page. I have a form with the tabPage object stuck on it. On opening the form I have the first tabPage opened by default. I want to set my F11 key to open the second tab page. Is this possible. Tnx

    T 1 Reply Last reply
    0
    • P Paps2

      Hi all, I would like to know if we could set a hot key to open a specific tab page. I have a form with the tabPage object stuck on it. On opening the form I have the first tabPage opened by default. I want to set my F11 key to open the second tab page. Is this possible. Tnx

      T Offline
      T Offline
      Tom John
      wrote on last edited by
      #2

      Quick solution.... add a menu item to the form with the shortcut key of F11 and show the tab page in the menuitem click event handler: Private Sub MenuItem2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem2.Click Me.TabControl1.SelectedTab = TabPage2 End Sub Hope this helps Tom

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups