Extending the Tab Navigator

Hi,
I am trying to do some work in Xcelsius that is dependent on knowing which tab is selected in a tab set.  It does not appear that getting this information is possible with the Tab Set component provided by Xcelsius.  I have started to dig into the SDK to see if I can build a Tab Set that behaves identical to the Xcelsius one with the addition of being able to identify which tab is currently selected.
So far I have been able to get the tab set created with minimal functionality but when testing it I notice that my component will not "swallow up" other components placed on top of it.  Am trying to figure out how to do that (is there a property that needs to be set somewhere?).
Thanks,
Mike

Hi Mike,
Creating containers is not supported in the SDK, it is on the list of possible futures though...
Regards
Matt

Similar Messages

  • I can't display an icon in the tab navigation.

    Hi,
    I use the tab navigation, it's OK with text but i can display a icon. I upload the icon in APEX (Shared Components) and i populate the image section of the my std tab.
    But nothing, only the text appear.
    Thanks for your suggestions.

    Hello <unknown user>,
    I think the solution is in one (or both) of these threads:
    {message:id=2708439}
    {thread:id=327586}
    (So you have to change your template).
    Greetings,
    Roel
    http://roelhartman.blogspot.com/

  • Make firefox tabs auto-size similar to chrome rather than having the tab navigator arrows when the tab width is full???

    I want the tabs to auto-size/shrink when the tab bar width is full as opposed to adding the annoying extra step of navigation arrows...
    any suggestions?

    Suggestion:<br /> https://addons.mozilla.org/en-US/firefox/addon/custom-tab-width/

  • Is there a way to extend the tab-bar downward, as in Windows? Sometimes I have so many tabs open I cannot view them all. Thank you very much!

    When I have 10+ applications open in Windows 7, I can click and grab the toolbar edge and drag upward, causing a "second" row of viewable and operating applications.
    I was just wondering if the same could be done with Firefox. It's not a tragic issue. Sometimes I get many, many tabs going and (trust me Firefox is my favorite) would like to see all tabs at the same time, even if it causes 2 rows of tabs and cuts down on my viewable screen area.
    Thank you very much !

    Here is one add-on that lets you add more rows of tabs in Firefox:
    https://addons.mozilla.org/en-US/firefox/addon/toomanytabs-saves-your-memory/

  • How to open the popup with in Tab navigator  working area.

    Hi,
              I using the customized  panel to open it as popup by using  popup manager in the Tab navigator . The popup should be able to  move with in the tab navigator's  content area. Not outside of the tab navigator's  content area. How to do this? .What is the difference between opening the popup by using popup  manager and add children(); which one is best?
    Regards,
    Thiru

    It depends on your purpose. A popup displays information to the user, and it might be modal if the user should repsond to the popup before continuing, but why constrain it's movement to the space occupied by the TabNavigator.
    You could, in theory, check the x and y properties of the popup position, and then compare those with the x and y of the TabNavigator view area, though you might have to do some conversion between global and local coordinates.
    You might want to consider your design. Is a popup necessary? Perhaps not. If so, maybe do not consider constraining its movement as you have indicated.
    If this post answers your question or helps, please mark it as such.

  • How to itemrender the menubar into a tab navigator?

    Hi,
    I have a requirement like the tab navigator/ tab bar should behave like a menu bar. How can I do this? any work around for this?
    Thanks,
    Raja.

    You can use the java.io.* package to write to files.
    API: http://java.sun.com/j2se/1.5.0/docs/api/java/io/package-summary.html
    Tutorial: http://java.sun.com/docs/books/tutorial/essential/io/index.html

  • Applet TAB navigation not working with 1.4.1_01

    I recently upgraded to Java version 1.4.1_01. Now, when I load my applets, the TAB key cannot be used for navigation until I open the Java console and then close it again. To ensure that my the threads in my specific Applet are not the problem, I came up with the following test applet:
    import java.awt.BorderLayout;
    import javax.swing.BoxLayout;
    import javax.swing.JApplet;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    public class TestApplet extends JApplet {
        public void init() {
            super.init();
        public void start() {
            JPanel myPanel = new JPanel();
            myPanel.setLayout(new BoxLayout(myPanel, BoxLayout.Y_AXIS));
            JTextField textField1 = new JTextField("Text Field 1");
            myPanel.add(textField1);
            JTextField textField2 = new JTextField("Text Field 2");
            myPanel.add(textField2);
            JTextField textField3 = new JTextField("Text Field 3");
            myPanel.add(textField3);
            getContentPane().add(BorderLayout.CENTER, myPanel);
        public void stop() {
            super.stop();
    }To ensure that my build environment/options are not the problem, I compiled this applet as follows:
    javac TestApplet.java
    I then came up with the following HTML file for the applet:
    <HTML>
    <HEAD>
    <TITLE>Test Applet</TITLE>
    </HEAD>
    <BODY MARGINWIDTH="0" MARGINHEIGHT="0" BGCOLOR="white">
    <APPLET
    CODE=TestApplet.class
    WIDTH=635
    HEIGHT=500
    ALIGN=left
    VSPACE=10
    HSPACE=10
    >
    </APPLET>
    </BODY>
    </HTML>When I access this test applet, again I am not able to navigate among the text fields with the TAB key. However, if I open the Java console, close it right back up, and refresh my applet, the TAB navigation works. I've tried simply refreshing my applet (as well as a hundred other things) and have had no success.
    Any help would be GREATLY appreciated.
    Thanks in advance

    Looks like this is related to Bug #4707289. To fix this,
    I added the following lines to the above applet:
    textField1.setFocusable(true);
    textField2.setFocusable(true);
    textField3.setFocusable(true);

  • Tab navigator and swf loader issue

    I have written two flex applications. Each of the
    applications contains a tab navigator control. The direct children
    of this tab navigator are canvases, sized to max.
    i.e.
    <mx:Canvas label="WhateverLabel" width="100%"
    height="100%">
    <!--whatever additional children here-->
    </mx:Canvas>
    Everything works fine, the navigator, all its children and
    grandchildren Application does exaclty as it should ... untill I
    load it into another application using swf loader.
    Our main application is a menu driven app that loads
    individual swf files based on user selection. When either one of
    these programs (using the tab navigator described above) is loaded,
    I get a White Bar across the top of the screen, sized as the Tab
    navigator width.
    the white bar goes away as soon as the user interacts with
    any control, but it still is there on application load. Here is a
    picture of what I am speaking about.
    http://members.cox.net/dragon.magik/whitebar.jpg
    You can see the menu atop the screen as the base application.
    You can then see the panel right beneath it, that is the main panel
    of the application i am having problems with. The white bar, as you
    see, is as wide as my tab navigator. The TN labels are positioned
    correctly, but I don't know why I am getting the white bar. I am
    having the exact same problem with tab navigators in two different
    applications I load into this one control panel. Any help would be
    greatly appreciated. Thanks in advance.

    There is an unsolved bug in adobe.
    You have to solve it manually overriding the function:
    package
         import mx.containers.TabNavigator;
         public class TabNavigatorFixed extends TabNavigator
             public function TabNavigatorFixed()
                 super();
             override protected function  commitSelectedIndex(newIndex:int):void
                 super.commitSelectedIndex(newIndex);
                 if(tabBar.numChildren > 0){
                     // Select the corresponding Tab in the Tab Bar (this  fixes a bug in Flex)
                     tabBar.selectedIndex = newIndex;

  • Working with "tabbed navigation list" widths

    I have created a list of type "tabbed navigation list" and added it to a page. I modified the "template" for the page adding a bottom border to the table for the tabbed navigation list.
    http://htmldb.oracle.com/pls/otn/f?p=36420:1:
    How would I control the width of this tab navigation list?
    I would like to make the width extend to 100% of the page, however, I'm unable to control the width either by setting the region width or the template width for the tabbed navigation list.
    Thank you!

    Hello,
    Your Region Template is a table and collapsing down. Remove the region template or change it so the table has width="100%" or change it to Report Region 100% Template if your using one of the builtin themes.
    Carl
    Message was edited by:
    Carl Backstrom

  • Ellipsis ... show in tab of Tab navigator

    Hi guys,
    I'm using a TabNavigator component with static height, width and 3  static tabs. My problem is that the Tab navigator shows ellipsis in the  label of the first tab whereas it clearly looks that it does not lack  any space in tab width. how do i rectify it?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"  layout="absolute" xmlns:local="*">
         <local:WLTabNavigator id="tn" x="83" y="60" width="210"  height="200" paddingBottom="0"
                          horizontalGap="1" tabHeight="18"  tabWidth="{tn.width/3}">
             <mx:Canvas label="Contacts" fontFamily="Arial"  fontSize="10">
             </mx:Canvas>
             <mx:Canvas label="SMS" fontFamily="Arial" fontSize="10">
             </mx:Canvas>
             <mx:Canvas label="Calls" fontFamily="Arial" fontSize="10">
             </mx:Canvas>
         </local:WLTabNavigator>
    </mx:WindowedApplication>

    I think this is working as designed. Your TabNavigator is 210px wide and with three tabs you're setting each tab to roughly 70px wide (give or take a pixel for gaps). If you don't set ANY tabWidth you can see that the first tab ("Contacts") wants to be about 78px, but you're only allowing 69-70px for the label, hence the truncation.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"  layout="horizontal">
        <mx:TabNavigator id="tn1" width="210"  height="100"
                         horizontalGap="1" tabHeight="18" tabWidth="69">
            <mx:Canvas label="Contacts" fontFamily="Arial"  fontSize="10">
                <mx:Label id="lbl1" creationComplete="lbl1.text = tn1.getTabAt(0).width.toString();" />
            </mx:Canvas>
            <mx:Canvas label="SMS" fontFamily="Arial" fontSize="10">
            </mx:Canvas>
            <mx:Canvas label="B" fontFamily="Arial" fontSize="10">
            </mx:Canvas>
        </mx:TabNavigator>
        <mx:TabNavigator id="tn2" width="210"  height="100"
                         horizontalGap="1" tabHeight="18">
            <mx:Canvas label="Contacts" fontFamily="Arial"  fontSize="10">
                <mx:Label id="lbl2" creationComplete="lbl2.text = tn2.getTabAt(0).width.toString();" />
            </mx:Canvas>
            <mx:Canvas label="SMS" fontFamily="Arial" fontSize="10">
            </mx:Canvas>
            <mx:Canvas label="B" fontFamily="Arial" fontSize="10">
            </mx:Canvas>
        </mx:TabNavigator>
    </mx:Application>
    I think a better approach is probably to set the TabNavigator container's internal TabBar to the same width of the TabNavigator and let the tabs resize themselves to fit. This may help get you started:
    <mx:TabNavigator id="tn3" width="210"  height="100"
                     horizontalGap="1" tabHeight="18"
                     resize="event.currentTarget.mx_internal::getTabBar().width = event.currentTarget.width;">
        <mx:Canvas label="Contacts" fontFamily="Arial"  fontSize="10">
            <mx:Label id="lbl3" creationComplete="lbl3.text = tn3.getTabAt(0).width.toString();" />
        </mx:Canvas>
        <mx:Canvas label="SMS" fontFamily="Arial" fontSize="10">
        </mx:Canvas>
        <mx:Canvas label="B" fontFamily="Arial" fontSize="10">
        </mx:Canvas>
    </mx:TabNavigator>
    Or, since it looks like you are already subclassing TabNavigator, you could possibly move the logic into your subclass instead:
    package {
        import mx.containers.TabNavigator;
        import mx.events.ResizeEvent;
        public class ResizerTabNavigator extends TabNavigator {
            public function ResizerTabNavigator() {
                super();
                addEventListener(ResizeEvent.RESIZE, resizeEventListener);
            protected function resizeEventListener(evt:ResizeEvent):void {
                tabBar.width = this.width;
    Hope that helps,
    Peter

  • Inserting tabbed navigation code makes my web page not display in design view..

    Hi everyone..
    I am on Dreamweaver 8 for MAC, and was working on a couple of web pages..these pages included divs and tables. But when I tried inserting a tabbed navigation I found at:
    http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
    In a nutshell, it asked me for step 1 to:
    Step 1: Insert the        below CSS and script into the HEAD section of your page:
    <link rel="stylesheet" type="text/css" href="tabcontent.css" />
    <script type="text/javascript" src="tabcontent.js">
    * Tab Content script v2.2- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    </script>
    The next step was this:
    Step 2: Finally, simply add the below      HTML to where you wish the Tab Content to appear on the page:
    <h3>Demo #1- Basic implementation</h3>
    <ul id="countrytabs" class="shadetabs">
    <li><a href="#" rel="country1" class="selected">Tab 1</a></li>
    <li><a href="#" rel="country2">Tab 2</a></li>
    <li><a href="#" rel="country3">Tab 3</a></li>
    <li><a href="#" rel="country4">Tab 4</a></li>
    <li><a href="http://www.dynamicdrive.com">Dynamic Drive</a></li>
    </ul>
    <div style="border:1px solid gray; width:450px; margin-bottom: 1em; padding: 10px">
    <div id="country1" class="tabcontent">
    Tab content 1 here<br />Tab content 1 here<br />
    </div>
    <div id="country2" class="tabcontent">
    Tab content 2 here<br />Tab content 2 here<br />
    </div>
    <div id="country3" class="tabcontent">
    Tab content 3 here<br />Tab content 3 here<br />
    </div>
    <div id="country4" class="tabcontent">
    Tab content 4 here<br />Tab content 4 here<br />
    </div>
    </div>
    <script type="text/javascript">
    var countries=new ddtabcontent("countrytabs")
    countries.setpersist(true)
    countries.setselectedClassTarget("link") //"link" or "linkparent"
    countries.init()
    </script>
    <p><a href="javascript:countries.cycleit('prev')" style="margin-right: 25px; text-decoration:none">Back</a> <a href="javascript: countries.expandit(3)">Click here to select last tab</a> <a href="javascript:countries.cycleit('next')" style="margin-left: 25px; text-decoration:none">Forward</a></p>
    <hr />
    Well, I did all the steps required, but when I put this inside a div I had inside a table, all of a sudden I couldnt see anything in my design view, only two tables that arent even the same size..When I take out all this code, I get back my regular page..Can I see this tabbed navigation in my design view? Unfortunately, I dont have the spry widgets since I am on Dreamweaver 8..If I preview it in both Safari and Firefox (on Mac Firefox/3.0.8) (Safari 3.2.1) I can see everything fine, including the tabbed navigation..But designing in code isnt really helpful because I want to see what it looks like in design view, in case we change things-its just easier for me to work on..So I assume there is something in this code that is making my design view show nothing..
    Update:I tried taking out the code again, but this time, I couldnt see anything again, even without this code..
    I know that I can go to validation website, and I got a lot of errors-but all the pages I have that are in the same style have those same errors too—and they display fine..its only when I insert this specific piece of code that everything goes haywire..Is it even possible to view tabbed navigations (like the one in the above link) inside of Dreamweaver Design View?
    Any help would be appreciated..

    DW8 doesn't render any dynamic content, so I'd say it's a no go. You'll just have to live with that limitation or upgrade to CS4...
    Mylenium

  • Tab Navigation in ABAP screens

    Hi All,
    Is the navigation sequence of the screen elements in a dynpro screen on "tab" event is from left to right and top to bottom always irrespective of whether the fields are in multiple subscreens/tab pages?. Is there a way to control the tab navigation sequence in Screens. Any help regarding this would be appreciated.
    TIA,
    Sharath

    Hi,
    The navigation sequence in tabstrip can be controlled in coding itself.
    If u want to make the first tab as deault u can set that in coding as follows.
    I will give u some sample coding try this out.
    DATA FOR TABSTRIP 'MAIN_TAB'
    CONTROLS:  main_tab TYPE TABSTRIP.
    DATA:      BEGIN OF i_main_tab,
                 subscreen   LIKE sy-dynnr,
                 prog        LIKE sy-repid VALUE
                                  'Program name',
                 pressed_tab LIKE sy-ucomm,
                            <b>"  VALUE c_main_tab-tab1,(specify the tab u want to make default)</b>
               END OF i_main_tab.
    U can control the tab flow in the PBO as
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_9001.
      MODULE main_tab_active_tab_set.
      CALL SUBSCREEN main_tab_sca
        INCLUDING i_main_tab-prog i_main_tab-subscreen.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_9001.
      MODULE main_tab_active_tab_get.
      MODULE main_tab_active_tab_set.
    MODULE main_tab_active_tab_set OUTPUT.
    IF ( NOT cb_det IS INITIAL ) AND
         ( i_main_tab-pressed_tab NE c_main_tab-tab1 ) .
       i_main_tab-pressed_tab = c_main_tab-tab2.
    elseif ( NOT cb_det IS INITIAL ) AND
         ( i_main_tab-pressed_tab eq c_main_tab-tab1 ) .
       i_main_tab-pressed_tab = c_main_tab-tab1.
    ELSEIF ( cb_det IS INITIAL ) AND
         ( i_main_tab-pressed_tab NE c_main_tab-tab2 ).
       i_main_tab-pressed_tab = c_main_tab-tab1.
    ELSEIF ( cb_det IS INITIAL ) AND
         ( i_main_tab-pressed_tab eq c_main_tab-tab2 ).
       i_main_tab-pressed_tab = c_main_tab-tab2.
    ENDIF.
      main_tab-activetab = i_main_tab-pressed_tab.
      CASE i_main_tab-pressed_tab.
        WHEN c_main_tab-tab1.
          i_main_tab-subscreen = '9100'.
          CALL METHOD o_alvgrid1->set_table_for_first_display
          EXPORTING
        WHEN c_main_tab-tab2.
      To display detail report
          i_main_tab-subscreen = '9200'.
          CALL METHOD o_alvgrid2->set_table_for_first_display
        WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.                 " MAIN_TAB_ACTIVE_TAB_SET  OUTPUT
    *&      Module  MAIN_TAB_ACTIVE_TAB_GET  INPUT
          text
    MODULE main_tab_active_tab_get INPUT.
      CASE sy-ucomm.
        WHEN c_main_tab-tab1.<b>(tab name)</b>
          i_main_tab-pressed_tab = c_main_tab-tab1.
        WHEN c_main_tab-tab2.
          i_main_tab-pressed_tab = c_main_tab-tab2.
        WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.              " MAIN_TAB_ACTIVE_TAB_GET  INPUT
    &----&      Module  USER_COMMAND_9001  INPUT
          This performs PAI
    MODULE user_command_9001 INPUT.
      CASE sy-ucomm.
        WHEN 'BACK'.
          PERFORM exit_program.
          SET SCREEN '0'.
        WHEN 'EXIT' OR  'CANC'.
          PERFORM exit_program.
          LEAVE PROGRAM.
        WHEN OTHERS.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_9001  INPUT
    *&      Module  MAIN_TAB_ACTIVE_TAB_SET  INPUT
          text
    MODULE main_tab_active_tab_set INPUT.
      main_tab-activetab = i_main_tab-pressed_tab.
      CASE i_main_tab-pressed_tab.
        WHEN c_main_tab-tab1.
          i_main_tab-subscreen = '9100'.
        WHEN c_main_tab-tab2.
          i_main_tab-subscreen = '9200'.
        WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.              " MAIN_TAB_ACTIVE_TAB_SET  INPUT
    This is the sample code u can try this out.
    Thanks &  Regards,
    Judith

  • Adding tabs dynamically at runtime for a tab navigator control

    Hi,
    Is it possible in flex builder 2 to dynamically add the tabs
    at runtime to the tab navigator control, if we can add plz tell the
    procedure to do that
    thanks in advance

    Given that you had a tab navigator declared in mxml like
    this:
    <mx:TabNavigator id="myTabber" selectedIndex="0">
    </mx:TabNavigator>
    you should just be able to call the addChild method, passing
    the child tab containers. So for example, in some ActionScript
    event handler:
    var newTab:Canvas = new Canvas();
    myTabber.addChild(newTab);
    bear in mind I haven't done this by adding tabs, but have
    done tons with adding controls to an application at runtime using
    this method (DataGrids, Grid, GridItems, etc...)
    Jason

  • #TAB_LINK# value not set for tabbed navigation list

    I'm a big supporter of searching the threads for an answer before posting. My apologies if I've overlooked this in the threads.
    Like many others, I'm leveraging lists to mimic third level tab functionality. I'm trying to use the tabbed navigation list template. My targets for the list entries are pages within the application. When clicking the links however, #TAB_LINK# is not being interpreted within the link URL. #TAB_LINK# is simply appended to the end of the URL instead of being replaced with the actual link value, for example I would expect to see a typical htmldb page link with the target page value.
    As a result, no navigation occurs to the target page. If I change the list template to horitzontal link list, the links function as expected, however I prefer the look of the tabbed navigation template.
    Any suggestions?
    David

    I took a hint from my own post and checked the template that was working for me and noticed that the horizontal list template uses #LINK# instead of #TAB_LINK#.
    I altered the tabbed navigation list template, replacing #TAB_LINK# with #LINK#, and now the tab links function as expected. I'm not sure if this fix will bite me later, or if this is a known issue. If there is a "proper" solution out there, I would still like to hear it. For now I'll assume my fix is a hack.
    Thanks,
    David

  • Tab navigator style

    Hi experts,
    i want to user background images in tab navigator ..assume that i have two tabs tab1 ans tab 2 now what i want is the following
       1.       that both the tabs to have a background image // i was unable to find a property for the same
       2.      i have taken two vbox in the tab navigator after giving the border two the v box i saw a space between the tabs and the vbox..please find the attach image it will clear the my query more..
    following is the code:-
       <mx:TabNavigator borderThickness="4" borderColor="#6997AF"
                                     borderStyle="solid" verticalGap="0"  tabHeight="38"
                                      tabStyleName="Selected" cornerRadius="6" tabOffset="40" tabWidth="115"
                                       horizontalGap="17" id="TbNgtr"  width="328" height="461" color="0x323232">
                                           <mx:VBox verticalGap="0" borderColor="red" borderStyle="solid" label="Load Photo">
                                            <mx:Label text="TabNavigator container panel 1"/>
                                           </mx:VBox>
                                        <mx:VBox verticalGap="0" borderColor="green" borderStyle="solid" label="Design Studio">
                                            <mx:Label text="TabNavigator container panel 2"/>
                                        </mx:VBox>
                                </mx:TabNavigator>

    Hi,
    1. To set background image :- backgroundImage style is available for TabNavigator.
    2. To remove the gap : Set horizontalGap style of the TabNavigator to 0.
    3. To style selected tab: Use the selectedTabTextStyleName style property. Check the following link for an example
    http://blog.flexexamples.com/2007/09/26/styling-the-flex-tabnavigator-control/

Maybe you are looking for

  • Compare, calculate time from database in applet

    how can i calculate or compare time from database (access) in applet

  • Forms Library Not Working Correctly in Records Center

    Greetings, I have a scenario where I have created a form library in a records center.  This form library has the same InfoPath form published to it as is in the primary collaborative site.  In the collaborative site, based on certain conditions, a wo

  • "open with" arguement between quicktime and itunes

    When I first got my Mac I changed the default app to open music CD's (AIFF) from iTunes to Quicktime (because I wanted an app that would open quickly and use as little desktop real estate as possible). Now I want to change it back to iTunes. I perfor

  • Screen problem urgent

    Please find below the code when I select gv_zpersnr1on screen I want to fill second field gv_pername1  and display after we select.But it cannot be displayed PROCESS BEFORE OUTPUT.   MODULE status_0100.   MODULE init_screen_0100. PROCESS AFTER INPUT.

  • WLI 2.1 Clustering

    Hi,           Does anyone have a success to WLI2.1 Clustering ?           If you have,           Please could you give me a guide ?           thanks in advance           DJ