Results 1 to 3 of 3

Thread: hide tabs?

  1. #1
    Join Date
    Jul 2013
    Posts
    7

    Unanswered: hide tabs?

    I have a questionnaire with several tabs. I would like to hide the tabs and have users navigate to each tab by clicking the "next" button at the bottom. Is there a way to disable the click on the tab so that if you click on the tab nothing happens and the only way to navigate around is by the buttons?

  2. #2
    Join Date
    Nov 2011
    Posts
    413
    Dim blnLocked As Boolean
    Dim oldPageIndex As String
    Dim Disabled As String
    blnLocked = Not blnLocked
    If blnLocked Then Me.TabCtl27.Pages(2).Caption = oldPageIndex & "(Disabled)"
    Substitute your TabCtl and Page of course.
    You will also have to re-enable it with your command button code.

  3. #3
    Join Date
    Jul 2013
    Posts
    7
    if i re-enable with my button code then i will be able to navigate to all previous tabs, correct?

Tags for this Thread

Posting Permissions

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