Hiding one of tabs in the tabcontrol

Andreas_Gunawan
Andreas_Gunawan Member Posts: 64
Dear All,
I would like to hide one of tabs available in the sales order, for example tab shipping. I know the field in the tab can be hide manually one by one using visible set to no in the properties of each field. I am wondering maybe the tab can be hide to avoid manually one by one process. I think it maybe need a coding, but I don't know it. I appreciate your help. tku


Rgds,
Andreas

Comments

  • jmlozares
    jmlozares Member Posts: 110
    Hi!

    I doubt, but I think there's no way to programatically set the visible propety of individual tab. In the first place there's no available object representing each tab.
    Janderol Lozares Jr.
    Manila, Phils.
  • kine
    kine Member Posts: 12,562
    No, it is not possible. You can just "skip" the caption in Caption property but in this case, you need to remove all controls from the tab.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.