Facility Control

 View Only
  • 1.  Hide Tabs In Dashboard Custom Panel

    Posted 10-07-2024 12:09

    I've created a tab group in my custom panel in Dashboard and have also created custom buttons to switch between tabs. Is there a way to hide the tabs in the top of the tab group since I won't need them because of my buttons for switching? I thought I saw an option for that somewhere but haven't been able to locate it. 


    Thanks!



    ------------------------------
    Brian Lanciki
    CHRISTIAN BROADCASTING NETWORK
    ------------------------------


  • 2.  RE: Hide Tabs In Dashboard Custom Panel

    Posted 10-08-2024 06:56

    Each tab is an <abs> (canvas)
    Rather than using the tab structure, why not just stack the canvas on top of each other, then use you buttons to show/hide them.



    ------------------------------
    Thomas Wilson
    Project Manager / Engineer
    Innovative Production Services
    ------------------------------



  • 3.  RE: Hide Tabs In Dashboard Custom Panel

    Posted 10-08-2024 11:51

    If you only want one tab visible at a time and they all share the same screen space, the <tab tabposition="none"/> approach is much more efficient for DashBoard to handle (and a little easier since you don't need to cycle-through and manually hide everything that shouldn't be visible).  Tabs also have an added feature where each tab can have delay="true"/"false" where DashBoard won't even attempt to build/render the tab content until the tab is accessed (which can be very helpful if you have large panels with lots of components/images/etc.)



    ------------------------------
    James Peltzer
    Ross Video
    ------------------------------



  • 4.  RE: Hide Tabs In Dashboard Custom Panel

    Posted 10-08-2024 19:57

    this is an amazing approach James, thankyou for sharing. 



    ------------------------------
    Thomas Wilson
    Project Manager / Engineer
    Innovative Production Services
    ------------------------------



  • 5.  RE: Hide Tabs In Dashboard Custom Panel

    Posted 10-08-2024 07:39

    Hi Brian, 

    The Tab Placement attribute determines the position of the tab and will be hidden if set to center.

    <tab bottom="0" left="0" right="0" tabposition="none" top="0">
       <abs name="Tab 1"/>
       <abs name="Tab 2"/>
    </tab>


    ------------------------------
    Richard Crutwell
    Ross Video UK
    ------------------------------