How to lock the current tab

Hi all,
  I have placed a tab control to the application, in one tab panel I am running a heavy code which takes couple minutes to be done. During the code running time, I want to lock the current tab so it can't switch to different tab. Is that any way to do that in CVI? Thanks.
Solved!
Go to Solution.

Hi dragondriver,
  I don't think you can lock a tab, but you could programatically dim all the other tabs on the same event that starts your heavy processing and then undim them one it finished.
Hope this helps,
Bogdan

Similar Messages

  • How to know the current tab

    Hi everyone,
    Does annyone knows if there is an indicator that indicate you the current tab where you are working in?
    I want my BSP to do different action depending on wich tab the user is in.
    I'm working in the BSP CRMD_BUS2000126 for the activities.
    Thanks!

    This is probably a question better suited to the BSP forum.  I also noticed that your application name starts with CRM.  I'm not familiar with CRM and its particular take on BSP, but I can tell you how I do this in my BSP applications:
    First I use the phtmlb:containerTabStrip to create my tabstrip.  I use an application class attribute to store my selectedIndex (the current selected Tab).
    <phtmlb:containerTabStrip id                    = "TabStrip15"
                              collapsed             = "FALSE"
                              collapsible           = "FALSE"
                              firstVisibleItemIndex = "1"
                              hasContentConnector   = "TRUE"
                              maxVisibleItems       = "5"
                              onCollapse            = "myCollapse"
                              scrollableItems       = "TRUE"
                              selectedIndex         = "<%= application->SELECTED_date2       %>" >
    Now I use MVC, so in my DO_HANDLE_EVENT method of my controller class I trap the tabstrip event and query for the selected tab:
    data: event_id type string.
      event_id = event.
      if htmlb_event is not initial.
        event_id = htmlb_event->id.
      endif.
      data: model type ref to zcl_bsp_m_eqi_selection.
      data: appl type ref to zcl_eq_bsp_eqi.
    ****Get a pointer to the Model Object.
      model ?= get_model( 'MS' ).
    ****Get a Pointer to the application Object
      appl ?= application.
      if event_id cs 'tabstrip15'.
        data: event1 type ref to if_htmlb_data.
        event1 = cl_htmlb_manager=>get_event_ex( request ).
        if event1->event_type eq cl_phtmlb_containertabstrip=>co_phtmlb_event_tab_selected.
          appl->selected_date2 = event1->event_server_name.
        endif.
      endif.

  • Export the current tab on a specific forms (Oebs).

    Hello,
    I have a form (done since "template.fmb") specific OeBS. This form contains several tabs. Function "File-> Export", but it exports that the contents of first tab even if I change.
    How to export the current tab?
    Thank you

    You should try to post your quetsion in the ebusiness-forum OA Framework

  • How do I get bookmarks on the toolbar to open in the current tab, and not open in a new tab?

    how do I get bookmarks on the toolbar to open in the current tab, and not open in a new tab?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • How to get the name of the current tab.

    Hi Experts,
    I have two tabs in my tab strip and a button common to both the tabs.Can you please let me know how to get the name of the current tab in the event method of the push button.
    Thanks in advance.
    Regards,
    Arun

    1.Declare an Action for OnSelect event of Tabstrip. This event is triggered whenever any change in tab occurs.
    2. Declare an Import Parameter in this method
       Tab type String.
    3. This parameter has value of the selected TAB.
    4. You can set this value in some Attribute in Attribute Tab in this event only (OnSelect):
         wd_this->Att  = Tab.
    Att is the attribute created by you in Attributes Tab of View. ( of type String)
    5. Now the selected Tab ID is stored in this Attribute Att.
    6. In the Onaction of Button , retrieve the selected tab value from this attribute using :
               Data : lv type string.
                lv =  wd_this->Att
    Now lv has your selected TAB ID.
    I hope it would help you.
    Edited by: Saurav Mago on Oct 13, 2009 2:22 PM

  • How can I make new tabs open next to the current tab?

    New tabs are advertised in Firefox 5.0 as being set to open next the the current tab by default. Mine, however, do not do this. They open to the right of the last tab, necessitating a lot of tab-scrolling, and a minor waste of time.
    I have not installed the extension that forces the tab behaviour I'm currently witnessing.
    Is there a kind soul out there with any suggestions for how I can get my new tabs to appear next to the tab I'm working on?

    Tabs that are "related" to the current tab, like the same domain, open to the right of the current tab. Other links that are from other domains open at the right end of the tab strip.
    The pref for that actions is '''browser.tabs.insertRelatedAfterCurrent'''.
    To have them all open to the right of the current tab would need an add-on, if that action even exists in an add-on.

  • How come I am not able to open new tabs? I clicked on new tab and I've tried to click on the + sign next to the current tab, but still I am not able to.

    How come I am not able to open new tabs? I clicked on new tab and I've tried to click on the + sign next to the current tab, but still I am not able to.

    Ask toolbar is the culprit...Thanks!!!

  • Is there any way to attach an action to the current tab bar you are in? If so, how?

    Is there any way to attach an action to the current tab bar you are in? If so, how ?
    I am using storyboards.
    Cheers

    Jeff:
    Look at Cyclosaurus' post in this topic: http://discussions.apple.com/thread.jspa?messageID=9273769#9273769. It may address what you're wanting to accomplish.
    OT

  • How do I get Google search bar results to open in a new tab instead of the current tab?

    When I use the Google search box, I would like the search results to open in a new tab instead of the current tab.

    It turns out there is an about:config setting just for this purpose. Toggle browser.search.openintab to 'true', and all is well.
    Rick

  • Upgrading from 3.6 to 10, I find that a link opens in the current tab not a new one. I don't see this option in options. How do I enable it?

    In the old version of Firefox 3.6.x, clicking on a link automatically opened a new tab in the current window. You could option whether to switch to it immediately or just keep opening tabs from links in the tab being used.
    Now, in 10, I need to manually open a new tab before I click on a link or it will open in the tab being used.
    No so convenient. I preferred the way it was.

    The default behavior of Firefox (all versions) will open a link or bookmark in the current tab when clicking only with the left mouse button.
    '''To open a link or Bookmark in a new tab''' you can do any of the following:
    *press the mouse scroll wheel on a link or Bookmark
    *hold down the CTRL key while left-clicking the link or Bookmark
    *right-click the link or Bookmark and choose "Open in a New Tab"
    *See:
    **http://www.7is7.com/software/firefox/shortcuts.html
    **https://support.mozilla.org/en-US/kb/Mouse%20shortcuts
    Some Add-ons allow options to open links and/or bookmarks automatically in a new tab by using only the left click button. You may have had such an Add-on in Firefox 3.6 that 1). is out of date and needs to be updated, or 2). is no longer being updated by the developer of the Add-on and is not working in Firefox 10.
    Add-ons:
    *https://addons.mozilla.org/en-US/firefox/addon/open-link-in-new-tab/?src=ss
    *https://addons.mozilla.org/en-US/firefox/addon/tab-utilities-lite/
    *https://addons.mozilla.org/en-US/firefox/addon/tab-utilities/
    *https://addons.mozilla.org/en-US/firefox/addon/tab-mix-plus/
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *'''''Adobe Shockwave for Director Netscape plug-in''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.org/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *'''''Next Generation Java Plug-in for Mozilla browsers''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • How to open "Open All in Tabs" in the current tab as it did before Firefox 8.x

    When click on "Open All in Tabs" on a grouped bookmark item Firefox use to open the group of tabs from the current tab onwards. Since version 7.x it does it by opening a new tab first and leave the current tab unchanged. Is there a setting to be changed to have the same behavior as before? It seems not logical because when I click on a single bookmark item it opens in the current tab.

    Yep. Those are all correct.
    Here's what I've learned from another site, Sandboxie. And this is why I hate upgrading FF and other s/w if I don't absolutely have to. They always changes stuff:
    I believe this link discusses the related change in Firefox:
    https://bugzilla.mozilla.org/show_bug.cgi?id=491947
    Before version 14, Firefox used a mechanism called DDE to send links to an open instance of itself. Sandboxie includes support for this kind of one-way DDE communication, specifically to support that use case, which has now stopped working.
    '''It stopped working because Firefox 14 no longer uses DDE, as described in that Firefox bugzilla page.'''
    I have to take back my earlier post and say that there is nothing I can do about this in Sandboxie and that some kind of workaround will have to be the long term solution.
    Guest10's solution works well, but I can't add it as a default in Sandboxie because it means that if you have an open Firefox outside the sandbox and you run Firefox in the sandbox, then a new window (or tab) opens in Firefox outside the sandbox, and nothing runs in the sandbox. I feel this kind of behavior is too confusing to offer as part of Sandboxie.
    It might be possible to restore the old functionality in Firefox 14. The bugzilla page says something about Firefox 14 trying to remove all DDE functionality, but the following still seems to work for me. Download the following .reg file to your desktop (outside the sandbox), then double-click it, and confirm entering it into the registry.
    See http://sandboxie.com/phpbb/viewtopic.php?t=13330 for a link and a reg file.

  • In FF 3, Intellimouse ("5" buttons) back button closes only the current tab. In FF4 it closes the window. I prefer the former. How can I get FF4 to do that?

    MS's Intellimouse has five "buttons" including the scroll wheel. I set left and right buttons to L-click & R-click (seems normal). I set left side button to Back and right side button to Close.
    In FF3, Close closes the current tab and Ctrl-W closes the window. In FF4, this is reversed -- Close closes the window and all its tabs and Ctrl-W closes the current tab -- not my preferred behavior.
    The behavior switch in FF4 may or may not have been a function of what somebody had for breakfast. It is was, then I'd like it switched back. If there was an important reason for the switch, I'd like to know.
    Until FF4 reverts to FF3 behavior, I'm probably stuck in FF3.
    In anyhow, thanks -- John Linford, Fort Worth

    Harley, thank you so much. I'll reload FF4 and re-set the settings.
    John

  • How can I close the current tab in Firefox v 17.0.1?

    I have used Firefox for years and have always used Tabs instead of opening new windows. I have always been able to click the little "X" on the right side of the tab to close it. I am finding now that I cannot close the current tab by doing this. I have to click on another open tab and then click on the other tab I wanted to close.
    I have looked through the Options many times trying to see if there is a setting I need to change, but have not found anything.
    Is it possible in this version of Firefox (v17.0.1) to close the current tab?

    I started Firefox in SAFE MODE and the problem went away. I checked for updates and all were up to date. I then restarted Firefox and it worked fine. Since I didn't really do anything, I am curious as to why it is now working as expected. I am glad, but still curious.
    Thank you.

  • Firefox won't open mailto links in a new window like it used to...it just opens gmail in the current tab.

    I recently upgraded firefox and now whenever I click a mailto link it opens gmail in the current tab rather than in a new window. How can I get it to open email links in a new window.

    My MAILTO problem was finally fixed on the June 29, 2012 Firefox version 14 beta 10 release.

  • How to calculate the Current APC (Acquisition and Production Cost)

    Hi,
    Please help me how to calculate the Current APC.
    The Current APC (Acquisition and Production Cost) is a calculated value based on Previous Year Acquisition balance plus any value changes up to the time of the report.
    The Asset History Report (RAGITT_ALV01) calculates the Current APC value &
    The Current APC can also be found in the Asset Explorer (transaction code AW01N) under Country Book 10/ Posted Values tab then the line “Acquisition Value” and column “Posted values”.
    I suppose that the calculation of Current APC (Acquisition and Production Cost) is getting done in the GET statements in the report RAGITT_ALV01, but unable to find the actual logic.
    Please help me.
    Thanks in advance,
    Satish

    Hi,
    you'll find the logic in fm FI_AA_VALUES_CALCULATE
    A.

Maybe you are looking for