locked
DOCK TABCONTROL RRS feed

  • Question

  • HI

    I added a tab to the form
    You have changed the property of 
    TABCONTROL   DOCK TO FILL
    Problem When
    maximize the form, the TABPAGE is not maximized

    PROPERTIE

    MAXMIZE FROM



    • Edited by ahmeddc Sunday, September 9, 2018 4:36 PM
    Sunday, September 9, 2018 4:34 PM

Answers

  • You need to look at Dock property of the tab control and on the same topic the Anchor property.

    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    • Marked as answer by ahmeddc Sunday, September 9, 2018 5:53 PM
    Sunday, September 9, 2018 4:37 PM

All replies

  • You need to look at Dock property of the tab control and on the same topic the Anchor property.

    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    • Marked as answer by ahmeddc Sunday, September 9, 2018 5:53 PM
    Sunday, September 9, 2018 4:37 PM
  • HI

    I added a tab to the form
    You have changed the property of 
    TABCONTROL   DOCK TO FILL
    Problem When
    maximize the form, the TABPAGE is not maximized

    PROPERTIE

    MAXMIZE FROM



    Hi

    Do you have any other controls 'below' the TabControl? For example, the TabControl could be in a Panel and Docked in the Panel but the Panel is not Docked in the Form?

    Just a stab in the dark ..............


    Regards Les, Livingston, Scotland

    Sunday, September 9, 2018 5:09 PM
  • HI

    I added a tab to the form
    You have changed the property of 
    TABCONTROL   DOCK TO FILL
    Problem When
    maximize the form, the TABPAGE is not maximized

    PROPERTIE

    MAXMIZE FROM



    Hi

    Do you have any other controls 'below' the TabControl? For example, the TabControl could be in a Panel and Docked in the Panel but the Panel is not Docked in the Form?

    Just a stab in the dark ..............


    Regards Les, Livingston, Scotland

    HI  leshay, KAREN


    I PUT THIS EVENT AND EVERY THING WAS GOOD

     Private Sub MAIN_Resize(sender As Object, e As System.EventArgs) Handles Me.Resize
            On Error Resume Next
            TabControl1.Size = New Size(Me.Width, Me.Height)
        End Sub

    Sunday, September 9, 2018 5:53 PM