JTabbedPane - vertical - which tab is selected?

Using the Windows L&F, if you have the tabs in a JTabbedPane arranged horizontally it is clear and obvious which tab is selected. But with the tabs arranged vertically you've got to look very carefully to see which tab is selected, as there are rather fewer changes than for horizontal tabs.
I can't be the first person whose users have complained about this - what's the conventional solution?
(One thought is to make the background colour of the non-selected tabs "a bit darker"; I guess that would look OK but wouldn't mind a pointer as to how to do this in such a fashion that it will still work when the user changes the desktop colour scheme.)

Using the Windows L&F, if you have the tabs in a JTabbedPane arranged horizontally it is clear and obvious which tab is selected. But with the tabs arranged vertically you've got to look very carefully to see which tab is selected, as there are rather fewer changes than for horizontal tabs.
I can't be the first person whose users have complained about this - what's the conventional solution?
(One thought is to make the background colour of the non-selected tabs "a bit darker"; I guess that would look OK but wouldn't mind a pointer as to how to do this in such a fashion that it will still work when the user changes the desktop colour scheme.)

Similar Messages

  • Remembering which tab was selected in panelTabbedPane

    I need to have a way such that a panelTabbedPane would be dynamic. it has to remember the last selected tab or set which tab would be activated. Ex. i click tab3 of a tabbed page then it goes to a non-tabbed page, if i press CANCEL on the non-tabbed page it should go back to the tab3 - the calling tab, instead of the selectedIndex tab or like the default tab.
    Is tabChangeListener an option and how can that be implemented?
    Can you help me out? thank you.

    Hi Vj
    Are you saying that you have multiple parameters and that in each parameter the user can pick a different value and that you then want the system to sort in the order of those items?
    With some manipulation of the data you can do it. Here is what I would do and I will assume there are 3 parameters called User1, User2, User3:
    1. Create a new calculation called MySort like this:
    CASE WHEN "User Name" = :User1 THEN '1'|| "User Name" WHEN "User Name" = :User2 THEN '2'||"User Name" ELSE '3'||"User Name" END
    2. Now you create a Group Sort on this new calculation and make it hidden - the items will then appear in the order you entered them in parameters 1, 2 and 3
    If you want to use a single parameter and allow your user to enter up to three value then this can be done too but you have to change the parameter to not allow the user to key multiple values. Instead you will be using a single parameter with each individual value separated by something other than a comma, say a /.
    What you do next is use the SUBSTR command to split out the individual pieces and use those in your condition such as:
    "User Name" = Value1 OR "Use Name" = Value2 OR "User Name" = Value3, where Value1, Value2 and Value3 come by splitting up the single parameter into multiple values.
    With this done you do a similar job as I showed you at the beginning for completing the sort:
    CASE WHEN "User Name" = Value1 THEN '1'|| Value1 WHEN "User Name" = Value2 THEN '2'|| Value2 ELSE '3'|| Value3 END
    Best wishes
    Michael

  • Htmlb:tabstrip = check in %code& which tab is selected

    i have a htmlb:tabstrip with 2 tabs.
    tab1 is quite small and tab2 shows a huge table, which is loaded in "OnSelect" of tab2.
    if i start at tab1 and click on tab2, it takes a while, but that's OK concerning the large table.
    BUT if i then click on tab1 again (which also has a onSelect Event Handler and leads to a page refresh), i also takes a while because in tab2, the huge table is included into the html-file although it is not shown. Tab 2 looks like this:
    <htmlb:tabStripItem id = "tab2" index = "2"             onSelect = "os2" >
    <htmlb:tabStripItemHeader>
    bla </htmlb:tabStripItemHeader>
    <htmlb:tabStripItemBody>
    <% IF application->table1 IS NOT INITIAL. %>
    <%-- show table ... --%>
    <% ENDIF. %>
    My question: The code <%-- show table --%> should not be executed if the current tab is tab1. Is that possible?

    Make a page attribute called MyTabSelection TYPE STRING
    then on your OnInputProcessing Event Handler
    DATA:
      event TYPE REF TO cl_htmlb_event,
      tabstrip_event TYPE REF TO cl_htmlb_event_tabstrip.
    event = cl_htmlb_manager=>get_event( request ).
    if event->name eq htmlb_events=>tabstrip and event->id eq 'MyTabs'.
      tabstrip_event ?= event.
      myTabSelection = tabstrip_event->selection.
    endif.
    Be sure to change the event->id eq 'MyTabs' to the id you gave to your <htmlb:tabStrip
    Then on your page
    <% IF MyTabSelection EQ 'tab2'
          AND table IS NOT INITIAL.
    %>
       ....Do table here....
    <% ENDIF. %>

  • Bold in JTabbedPane title overlapping tab edge

    I extended the BasicTabbedPaneUI and implemented paintText() to use a bold font if the tab is selected. This works OK, unless the tab has a long title in which case the bold text overlaps the edge of the tab. I tried using a smaller font size, but it still didn't work in some cases.
    How do I change the size of the tab?
    Here's my implementation:
    -------------------------MyTabbedPane.java-----------------------
    <pre>
    import javax.swing.plaf.basic.BasicTabbedPaneUI;
    import java.awt.*;
    public class MyTabbedPaneUI extends BasicTabbedPaneUI {
         private Font boldFont = null;
         public MyTabbedPaneUI(Font font)
              this.boldFont = new Font(font.getFontName(), Font.BOLD, font.getSize());
         protected void paintText(Graphics g,
                                  int tabPlacement,
                                  Font font,
                                  FontMetrics metrics,
                                  int tabIndex,
                                  String title,
                                  Rectangle textRect,
                                  boolean isSelected)
              if(isSelected)
                   super.paintText(g, tabPlacement, boldFont, metrics, tabIndex, title, textRect, isSelected);
              else
                   super.paintText(g, tabPlacement, font, metrics, tabIndex, title, textRect, isSelected);
    </pre>
    ------Here's how it's used-----------
    JTabbedPane tabbedPaneTop = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT);
    // set-up tab UI
    MyTabbedPaneUI tabUI = new MyTabbedPaneUI(tabbedPaneTop.getFont());
    tabbedPaneTop.setUI(tabUI);

    I figured out how to fix my problem. Had to override a couple more methods. See my code below.
    import javax.swing.plaf.basic.BasicTabbedPaneUI;
    import java.awt.*;
    import javax.swing.*;
    public class MyTabbedPaneUI extends BasicTabbedPaneUI {
         private Font boldFont = null;
         private FontMetrics boldFM = null;
         public MyTabbedPaneUI(Font font)
              this.boldFont = new Font(font.getFontName(), Font.BOLD, font.getSize());
         public void installUI(JComponent c)
              super.installUI(c);
              this.boldFM = c.getFontMetrics(this.boldFont);
         protected void paintText(Graphics g,
                       int tabPlacement,
                       Font font,
                       FontMetrics metrics,
                       int tabIndex,
                       String title,
                                  Rectangle textRect,
                       boolean isSelected)
              if(isSelected)
                   Rectangle rect = this.getTabBounds(this.tabPane, tabIndex);
                   int centerX = rect.x + rect.width/2;
                   int centerY = rect.y + rect.height/2;
                   int textH = this.boldFM.getHeight();
                   int textW = this.boldFM.stringWidth(this.tabPane.getTitleAt(tabIndex));
                   rect.x = centerX - textW/2;
                   rect.y = centerY - textH/2;
                   rect.width = textW;
                   rect.height = textH;
                   super.paintText(g, tabPlacement, boldFont, this.boldFM, tabIndex, title, rect, isSelected);
              else
                   super.paintText(g, tabPlacement, font, metrics, tabIndex, title, textRect, isSelected);
         protected int calculateTabWidth(int tabPlacement, int tabIndex, FontMetrics metrics)
              if (this.tabPane.getSelectedIndex() == tabIndex)
                   return super.calculateTabWidth(tabPlacement, tabIndex, this.boldFM);
              else
                   return super.calculateTabWidth(tabPlacement, tabIndex, metrics);
    }

  • [JTabbedPane] get the tab index of a textfield

    Hello,
    I'm using a jTabbedPane to display data. On every tab I have several panels with JTextFields. I would like to know on wich index of the tabpane a textfield is located. So when a textfield is empty I can use tabpane.setSelectedIndex( i ) to set te focus to that tab.
    Enyone any tips?
    Greetings
    Hans

    I'm guessing that just setting focus on the text field doesn't cause the tab selection to change.
    So here's a brute force way to do it:
    a) find the parent container of the text field
    b) use the tabbedPane.getComponentAt(..) method to compare the above component. When they are equal you now which tab contains the text field.

  • JTabbedPane - removing/adding tabs

    Using JDK 1.4, I am attempting to refresh a JTabbedPane based on a user selection. I have tried several approaches (removing all of the tabs from the JTabbedPane; removing the panel the JTabbedPane sits on from a larger panel). In both cases, doing a remove (JTabbedPane.removeAll for the JTabbedPane, and Panel.remove [component] for the panel), the area where the JTabbedPane should appear is blank. Here is the code I have tried (createTabs calls the addTab method; createTabPanel puts the tabbedpane on a panel):
    public void refreshWindow ( String asReportNo )
         // Remove current tab panel from main panel
         csjpMainPanel.remove ( csjpTabPanel );
         // Recreate tabs, then tab panel
         //csjtab.removeAll();
         //csjtab.revalidate();
         JTabbedPane lsjtab = createTabs ( asReportNo );
         csjtab = lsjtab;
         csjpTabPanel = createTabPanel();
         //csjtab.setVisible ( true );
         //csjpTabPanel.setVisible ( true );
         csjpTabPanel.revalidate();          
         csjpTabPanel.repaint();
         // Put tab panel back on main panel
         GridBagConstraints lgbc = new GridBagConstraints();
         lgbc.gridx = 1;
         lgbc.gridy = 0;
         lgbc.insets = new Insets ( 3, 3, 3, 3 );
         lgbc.weightx = 1.0;
         lgbc.weighty = 0.5;
         lgbc.fill = GridBagConstraints.BOTH;
         lgbc.anchor = GridBagConstraints.NORTHWEST;
         csjpMainPanel.add ( csjpTabPanel, lgbc );
         csjpMainPanel.repaint();          
    Any ideas on what I could do to make the tabbed pane visible? I saw that there was a problem with JTabbedPane in earlier releases, but this is with 1.4.
    Thanks,
    Van Williams

    yes, that's right... remove the synchronized blocks and replace them with invoke laters... If your are going to synchronize this, it has to be
    synchronized(monitor) {
    // update code
    -->
    synchronized(tabbedPane.getTreeLock()) {
    // update code
    which is still not as good as the following
    -->
    SwingUtilities.invokeLater(new Runnable() {
    public void run() {
      // update code
    };

  • "Don't load tabs until selected" option no longer there?

    I have installed a new version of Firefox (long overdue) from version 17 to 31. I was able to customize everything to my liking after some fiddling around but one setting remains that I cannot rectify. Firefox's options menu no longer seems to include the "Don't load tabs until selected" checkbox as can be seen in this screenshot
    (https://i.stack.imgur.com/JWAXX.png)
    on the SuperUser forum in this thread:
    (https://superuser.com/questions/433096/how-do-i-make-firefox-13-load-all-my-tabs-on-startup-or-when-resuming-reload)
    This wouldn't be a problem for me if the option was off by default, but it seems to be on. I have tried to find the correct technical setting for this in the about:config menu as per suggestion of one of the threads on the Firefox Support forum.
    (https://support.mozilla.org/en-US/questions/987254?esab=a&as=aaq)
    Unfortunately, "browser.tabs.loadDivertedInBackground" - which I have set to "true" - does not seem to work, even after restarting Firefox, nor does "browser.tabs.loadBookmarksInBackground".
    Please help! I will be very, very grateful if all my tabs load immediately and at the same time again upon opening my browser; a practice many users over the years seem to disagree with.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Tab in selection screen

    Dear All,
    I have to developed a new report in which I have to diplay two different report.For that two different report there are two different selection screen.I have developed two tabs in selection screen for two different report.
    There are some mandatory fields in each screen,Now problem is that I can't go second tab unless I fill value in mandatory field.
    But my requirment is when I want to go for second report then I will go for second tab without filling any value in tab 1 selection screen
    Please give a sollution.
    Regards,
    Amar

    Hi Amar,
    <li>You can achieve the same using Dialog program . Instead of selection-screen, use dialog programming, use MODULE mod_name AT EXIT-COMMAND to navigate one tab to another tab. Once you give input on any tab and want to display data use LEAVE TO LIST PROCESSING AND RETURN TO SCREEN 0.
    <li>Check the link: http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbaa9535c111d1829f0000e829fbfe/content.htm
    <li>Normally AT EXIT-COMMAND is used to exit without giving mandatory fields. We can use for this situation.
    Thanks
    Venkat.O

  • SO Pricing User Exit - How to know which item is selected for re-pricing.

    Hello Experts,
    I have to modify material data when user does a update pricing in VA02, the problem is...How do I know which item is selected for re-pricing (in MV45AFZZ)? I am using user exit USEREXIT_PRICING_PREPARE_TKOMP.
    For Ex: If my order has 3 items and 2nd one is selected and then 'Update' is done on 'conditions' tab. Above pricing user exit is triggered 3 times for all items, so I cant check XVBAP.
    Your help will be appreciated.
    Thanks,
    Sagar

    Hi J@Y,
    Thanks for reply. But USEREXIT_PRICING_PREPARE_TKOMP is triggered for all items, so how do I know which is current item?
    If you see in debug mode, xvbap-posnr and tkomp-kposn will have 10,20,30 everytime (for 3 times). How do I know if user has selected 20?
    Thanks,
    Sagar

  • Hide Tab in Selection Screen After Pressing Button

    Hiii All..
    My requirement is I have to disable the tab in the selection screen when the user presses the button 'Disable Tabstrip' which is present in Application toolbar..
    And it should come back if the user presses another button 'Enable Tabstrip' and that time the above screen should hide.
    I am showing u the screen..
    Link : [https://www.filesanywhere.com/FS/M.aspx?v=8972698c58616eb771af]
    If anyone knows then please help.
    Regards,
    Jhings.

    Thanks For the reply Anju...
    But the problem is.. this selection screen is not the default screen.. this is user defined screen.. and SY-UCOMM is not giving any value on the "AT SELECTION SCREEN OUTPUT" Event..
    I am giving u the code.. How I defined this..
    * This is screen where we are inclucing tab screen
    SELECTION-SCREEN : BEGIN OF SCREEN 100.
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-005.
    SELECTION-SCREEN : BEGIN OF LINE.
    SELECTION-SCREEN : COMMENT 1(15) CUS_TXT.
    SELECT-OPTIONS : CUST_ID FOR VBAK-KUNNR.
    SELECTION-SCREEN : PUSHBUTTON 79(20) BUT1 USER-COMMAND CLICK1 VISIBLE LENGTH 20.
    SELECTION-SCREEN : END OF LINE.
    SELECTION-SCREEN : BEGIN OF LINE.
    SELECTION-SCREEN : COMMENT 1(15) MAT_TXT.
    SELECT-OPTIONS :  MATNR FOR VBAP-MATNR.
    SELECTION-SCREEN : PUSHBUTTON 79(20) BUT2 USER-COMMAND CLICK2 VISIBLE LENGTH 20.
    SELECTION-SCREEN : END OF LINE.
    SELECTION-SCREEN : BEGIN OF LINE.
    SELECTION-SCREEN : COMMENT 1(15) CRE_TXT.
    SELECT-OPTIONS : CRE_BY FOR VBAK-ERNAM.
    SELECTION-SCREEN : PUSHBUTTON 79(20) BUT3 USER-COMMAND CLICK3 VISIBLE LENGTH 20.
    SELECTION-SCREEN : END OF LINE.
    SELECTION-SCREEN : BEGIN OF LINE.
    PARAMETERS : A AS CHECKBOX USER-COMMAND UC.
    SELECTION-SCREEN : COMMENT 5(33) CHK_TXT.
    PARAMETERS:        NUM TYPE I MODIF ID M1.
    SELECTION-SCREEN : END OF LINE.
    SELECTION-SCREEN: END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF TABBED BLOCK T1 FOR 20 LINES.
    SELECTION-SCREEN TAB (10) NAME1 USER-COMMAND UCOMM1 DEFAULT SCREEN 101.
    SELECTION-SCREEN TAB (20) NAME2 USER-COMMAND UCOMM2 DEFAULT SCREEN 102.
    SELECTION-SCREEN TAB (30) NAME3 USER-COMMAND UCOMM3 DEFAULT SCREEN 103.
    SELECTION-SCREEN END OF BLOCK T1.
    SELECTION-SCREEN: FUNCTION KEY 1,
                      FUNCTION KEY 2.
    SELECTION-SCREEN : END OF SCREEN 100.
    * These are subscreens
    SELECTION-SCREEN : BEGIN OF SCREEN 101 AS SUBSCREEN.
    SELECTION-SCREEN : BEGIN OF BLOCK B6 WITH FRAME TITLE TEXT-006.
    PARAMETERS : CUS_NAM1(30) TYPE C,
                 CONTACT1(12) TYPE C,
                 CITY1(30) TYPE C.
    SELECTION-SCREEN : SKIP.
    SELECTION-SCREEN : PUSHBUTTON 1(20) BUT11 USER-COMMAND CLICK11 VISIBLE LENGTH 10.
    SELECTION-SCREEN : PUSHBUTTON 25(20) BUT12 USER-COMMAND CLICK12 VISIBLE LENGTH 10.
    SELECTION-SCREEN: END OF BLOCK B6.
    SELECTION-SCREEN : END OF SCREEN 101.
    SELECTION-SCREEN : BEGIN OF SCREEN 102 AS SUBSCREEN.
    SELECTION-SCREEN : BEGIN OF BLOCK B7 WITH FRAME TITLE TEXT-007.
    PARAMETERS : MAT_DES1(30) TYPE C MODIF ID M1,
                 UNT1(12) TYPE C MODIF ID M1,
                 MAT_TYP1(30) TYPE C MODIF ID M1.
    SELECTION-SCREEN : SKIP.
    SELECTION-SCREEN : PUSHBUTTON 1(20) BUT13 USER-COMMAND CLICK13 VISIBLE LENGTH 10.
    SELECTION-SCREEN : PUSHBUTTON 25(20) BUT14 USER-COMMAND CLICK14 VISIBLE LENGTH 10.
    SELECTION-SCREEN: END OF BLOCK B7.
    SELECTION-SCREEN : END OF SCREEN 102.
    SELECTION-SCREEN : BEGIN OF SCREEN 103 AS SUBSCREEN.
    SELECTION-SCREEN : BEGIN OF BLOCK B8 WITH FRAME TITLE TEXT-008.
    PARAMETERS : F_NAM1(30) TYPE C MODIF ID M1,
                 L_NAM1(12) TYPE C MODIF ID M1,
                 C_NO1(30) TYPE C MODIF ID M1.
    SELECTION-SCREEN : SKIP.
    SELECTION-SCREEN : PUSHBUTTON 1(20) BUT15 USER-COMMAND CLICK15 VISIBLE LENGTH 10.
    SELECTION-SCREEN : PUSHBUTTON 25(20) BUT16 USER-COMMAND CLICK16 VISIBLE LENGTH 10.
    SELECTION-SCREEN: END OF BLOCK B8.
    SELECTION-SCREEN : END OF SCREEN 103.
    Hope This could help u..
    Regards,
    Jhings

  • Cant record into to logic pro 9 using samson l1200 live mixer, System/Pref/Audio input tab says selected device has no input control

    Hi Im new to this so bare with me..When I connect my Samson l1200 live usb mixer to my Imac 7,1 Intel duo core 3gb ram, osx10.6.8, via usb cable to record vocals/instruments, in System Pref/Audio/Output tab is set to mixer's UsbAudioCodec driver, (Im able to hear playback into headphones via the mixer, and hear the mic when spoken into it but cant record a track into Logic...System/Pref/Audio input tab says selected device has no input control, Ive set the input/output settings in Logic to UsbAudioCodec but still no good...Would it be either the way the mixer is set up? or is this mixer (Samson l1200) not compatible with my particular Imac? I hope I may be able to help as Im only a student trying to record my band thanks

    I perfectly understand your problem.
    First... just to make sure, in Logic's preferences /Audio make sure Universal Track Mode IS checked, it should be enabled. (I think it probably is just checking)
    Second... if you record a track in a new Logic project and then go to the next track to record an overdubbed guitar part, are both parts recorded on the 2nd track?
    What I'm asking is overdubbing working differently for two or three recorded tracks as opposed to overdubbing with an imported track.
    What I think is happening is you have the main stereo output being recorded into Logic so if you playback an imported or recorded track from Logic while recording a 2nd track (overdub), both are going to be recorded on the 2nd track.
    I took a look at the manual, here's the relevant sections.
    34 – SEND – USB input send switch 
    The USB INPUT switch allows you to select one of
    two stereo (or two channel) signal paths to feed the
    USB output to send to the connected PC. When the
    INPUT switch is in the up position, the USB signal will
    feed from the MAIN left right mix. When the INPUT
    switch is in the down position, the USB signal will
    feed from the AUX 1 and AUX 2 buses which enables
    you to create a unique mix to send to the PC.
    35 – RETURN – USB return switch
    The USB RETURN switch allows you to select one of
    two stereo return paths to receive USB audio from
    the connected PC. When the ASSIGN switch is in the
    up position, the USB signal will return to the MAIN
    mix bus. When the ASSIGN switch is in the down
    position, the USB signal will return to the last pair
    of stereo channels which enables you to playback a
    recorded track in the MAIN mix, and you can use the
    channels AUX sends to feed any of the AUX buses.
    This will let you hear the USB playback tracks in the
    monitor mixes.
    36 – MONITOR – USB headphone enable switch
    Press the USB MONITOR switch down if you want
    to hear the signal from the USB return in the
    headphones.

  • Tabs in selected text

    When I select several lines of text that contain various tab stops they don't all show up in the list in the inspector window even if they are all the same kind of tab. Is this normal?

    Probably you've selected lines that have a different tab setup. For example, I might format one line with left tabs at 2 and 4 inches. The second through tenth lines I might format with decimal tabs at 2.5 and 4.5 inches. Then the eleventh line I might format with right tabs at 3 and 5 inches. Which tabs you see will depend on the tab arrangement of the first line you've selected. You should see the tab format of the first line in the selection.

  • Hidden indicator - how to tell which tab page it is on?

    I am analyzing an existing program. It has an indicator which is hidden.  If I right-click on the terminal, I can "find" the indicator, which appears as a dotted outline within the tab control area, regardless of which tab page is selected.   How can I find out which tab page it is on?
    I don't currently have the hardware to run the program, so I am trying to find a property or something with this information.

    Create a Property Node for the tab control.  Select the Pages property.  The output is an array of references to the pages.  Loop through those references checking another property node Controls on Page[ ] for references to the controls on that page.  If you know the label of the hidden control (and no duplicate labels exist on the page), you can use the Label.Text property to find the control.  Once you have the reference, you can write to the Visible property to show the control. Something like this (you need to add termination conditions):
    Lynn

  • How to obtain which address is selected during BP dialog (Address Overview)

    For Business Partners enhancemnets we will use AREA-MENU :: BUPT (Business Data Tool Set) for business partner
    In this we have so many events, we have create one function module and we will attach to the appropriate event so that our custom function module will be trigger when an address was selected in tab "Address Overview". We need to know which address was selected, so we have used local memory and we have called  BUP_BUPA_MEMORY_GET to obtaing business partner number and then BUA_BUPA_MEMORY_ADDRESS_GET to obtain the address. This last FM returns the standard address instead of the address which is selected. I have realised that inside the source code exists a global variable named gt_addr_new that contains all the addresses for the business partner, and one of them has the xmark field filled with an 'X' indicating which address is selected. However I have not found any bapi that returns that entry.
    Any suggestion to achive this avoiding an standard modification?
    Thanks in advance.
    Best Regards,
    Rosa Ferrando

    Hi,
    Check for  BAPI " BUP_MEMORY_BUT020_GET".
    Get the address no form this  BAPI.
    Take the address no and go to the database table BUT021_FS to get the address type.
    Hope this helps.
    Best regards
    Sourabh

  • How do I only execute code in a certain tab when that tab is selected?

    I want the code inside one of my tabs to only run when that tab is selected. I'd like to read the value of the tab chosen to compare it to a constant (that tab), and if true, run it.  I don't know how to read the value of a tab selector though, I don't understand the structure.
    Solved!
    Go to Solution.

    Ravens is absolutely right. Don't over-engineer your code. Sections of code
    should run when needed and should not depend on a mostly cosmetic
    feature on the front panel.
    Still, you can wire the tab terminal directly to a case structure.
    You can also listen for a "value changed" event of the tab control.
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for

  • Why won't ipod nano sync with itunes version 10

    i am trying to update my ipod nano with new songs..however, when i plug my ipod nano into the computer, the itunes acknowdledges the ipod but it wont sync. how can i fix this problem? ps. i have itunes version 10 and windows vista

  • Creating service orders in R/3 from CRM

    Hi Experts I am working on an scenario in the Interaction Center WinClient where complaints can be registered concerning iobjects. For now, we have made the design using activities, where the objective is to simple register complaints. However we wou

  • What disc type do I use to record

    I have been unable find the right disc to insert.  I use Roxio Creator (came with my T400 T6U).  I've tried all sorts of discs and get the same message:  "Please insert an appendable discu and try again".  I am able to read CD's and have not tried DV

  • Functionality of IF in OSB message flow

    Hi Team, am just confused about the functionality of IF in OSB message flow, either in a proxy or in a split-join. for example consider the following scenarios in  if-then stage, 1. I write the condition as status="yes", then some process will be don

  • An execute query Procedure

    Hi guys, I'm starting to work in PL/SQL. I've got some experience in ms sql server with T-SQL and I'm trying to understand some PL basis. What I want to do, is a stored procedure that returns the result of a given query. Thats a simple thing to do in