How to display a message on the second tab when an option is selected in a drop-down

Hello

I use a combo of my title bar, to within my application to display a list of options that will trigger different URL webViews.

On my first tab I have a Web of a page view and when the option is selected the webView will change and the second tab will load the same webView but with /deals at the end of the url.

The problem I have is that one of the options does not have a page of /deals on their site so I was wondering if it would be possible to hide the second tab or display a message on the second tab, when this specific option is selected?

Thanks in advance

If your problem is what method to use to hide the tabs or what...

You can use these functions... It will remove the tab but will not destroy the content, it's like hiding and showing a tab

REMOVE / HIDE

tabbedPane.remove (theTab);

ADD / VIEW

var index = 2; the tab index

tabbedPane.insert (index, theTab);

Tags: BlackBerry Developers

Similar Questions

  • How to display warning messages in the OPS

    Hi all
    I have a page where in I have a poplist. When the user changes the value of that poplist I want to display a message window that the "the user must either save the modifications or changes will be ignored. And I want to have two buttons to save or cancel the changes.
    How to achieve this in the OPS as I read that popups are not supported in the OPS.
    And the Confirmation message boxes at the top of a page does not stop the users to perform further processing.

    Can someone please shed some light on it.
    Thanks in advance.

    Ginette

    You can join firePartialAction with poplist and make use of the dialog page. For an example of a page of dialog with two buttons you can see the example of Toolbox page remove tutorial.

    Thank you
    AJ

  • How to make a pdf that can send a form to e-mail selected in a drop-down list box?

    I'm trying to be able to create a user of a pdf file I created, select an e-mail from a drop-down list box and then hit send and have it send to this email address that has been selected.

    Thanks for the help!

    Hello

    I don't think (maybe wrong) you can do this in InDesign. At the very least, you could draw the shape in InDesign, but I guess that the interactivity between the selection of the list and the action of mail should be done with Scripting Acrobat or LiveCycle Designer if you have.

    FWIW,

    Loïc

  • How to display a message to the customer that connects?

    Hello

    I am fairly new FMS and really trying to learn about it. My question is simple, as I hope;

    I want a message to appear to a client when they connect that the maximum number of users has been reached. I have it set for 5 users and so I would like that when the 6th user tries to sign in to see the video, a small box will be pop up and say "sorry, Max users has been reached. Please try again in a few minutes. »

    I could develop something and get it through orders of the trace output by following a tutorial online, I saw, but I never got any sort of message box, that I built to jump to the top.

    Please help someone?

    Your code was not OK try this one.

    var ns:NetStream;

    var nc:NetConnection = new NetConnection();

    nc.addEventListener (NetStatusEvent.NET_STATUS, onNetStatus);

    NC. Connect ("rtmp://fms");

    function onNetStatus(event:NetStatusEvent):void {}

    trace (Event.info.code);

    Switch (event.info.code)

    {

    case "NetConnection.Connect.Success":

    NS = new NetStream (nc);
    ns.setBufferTime (2);

    myVideo.attachVideo (ns);

    NS. Play("MP4:BYN_e06_1.F4V");

    status_txt. Text = "you're: connected."

    where_txt. Text = "from:"+ Num; '.

    break;

    by default:

    status_txt. Text = "sorry, maximum users has been reached. Please try again. « ;

    break;

    }

    I suggest you to go through the documentation that comes with the FMS, there are many examples on how to create netconnection and netstream and then stream video. It will really help you.

    Kind regards

    Amit

  • Display a message to the user w / result of data

    Howdy,

    First off it is a mission of the College work and it's especially complete; seeking advice and the experience here.  The mission is to create a calculator with many functions for each method of arithmetic.  It was easy enough, but the next step is to display a message to the user after each calculation.  For example, if the problem was 4 + 2, the message must be "the result of the addition is: 6. the creation of the part of the message by using the Msg to display the user-defined function is simple, but it is not exactly struck home.  I want to create a message that contains the result of the problem (for example 6).  As it is now I can't do that with the function of Msg, or if it is possible I can not quite understand.  I want to have a separate message for each function, but I don't know if I can incorporate the response into the message.  It's the underlying objective; How to integrate the response in a message dialog box to the user? If it is possible what should I watch?

    The VI himself is quite simple; case of structure for each arithmetic function and a certain time for execution loop.  X and there are entries and a drop-down list to select a structure if necessary. I've attached a screen below.

    Thank you

    THA

    You can use the Message to display to the user to view any string to the user. If the key is to use the palette of the chain to manipulate strings to get the error message.

    A subpalette of the palette of the chain is the range of number/String Conversion. This can help you get your (6) value into a string format and then you can concatenate that string however wished with the message.

    With the pop-up windows, you must make sure that you're not trigger this popup with every single loop, so make sure you put a case around the pop-up structure and place the logic in there to make it work only the case of popup when the value changes.

  • Display a message in the main method.

    Someone knows how to display a message in a dialog of the main method (before the creation of the Application object)? It is a background application is not possible to put the message on a screen.

    You can use Ui.getUiEngine () .pushGlobalScreen () to display a screen for a user interface application.

  • displaying a message on the screen 'Welcome' to ESX 4.1

    Hello everyone

    you know a way to pop up / display a message on the Welcome screen of the classic ESX 4.1 Script perl, call API, or other cli

    running on the ESX host?

    We need feedback from ESX custom script that runs in the background on the ESX console.

    Lamw for ESXi method does not unfortunately for ESX 4.1 Classic.

    (see, lamw http://www.virtuallyghetto.com/2010/09/how-to-add-splash-of-color-to-esxi-dcui.html( )

    the-m option of esxcfg-advcfg change the/etc/vmware/welcome, but I think that it is not used by the screen "Welcome" here.

    so far, I've seen only kernel warning appear on the Welcome screen.

    Best regards

    rub1

    No, this feature is not exposed in any API/CLI and I don't think it will be never exposed... especially knowing that ESXi will be in the future.

    Take a look at this post where you change what are virtual consoles, read in the files, perhaps something that you use, but yet once, it is probably not supported by VMware - Re: change the text console esx

    =========================================================================

    William Lam

    VMware vExpert 2009,2010

    VMware VCP3, 4

    VMware VCAP4-DCA

    VMware scripts and resources at: http://www.virtuallyghetto.com/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • displaying a message in the status bar

    Hello
    If I have the code as
    if not l_success
      then
        message('Error!');
      end if;
    How can I display this message in the status bar of the form, not in a message box with an OK button?

    Thank you

    Integrated MESSAGE

    Display specific text on the message line.

    Have a look here

    http://www.Oracle.com/webapps/online-help/forms/10G/State?navSetId=_&Navid=3&vtTopicFile=f1_help/builth_m/message.html&vtTopicId=

  • How to transfer your messages to the iPhone 6 for macbook

    GGetting a new iPhone would like to keep the messages from the old iPhone 6 on my MacBook. How do you download messages from the iPhone to MacBook.

    You do not have.

    The messages are only "moved" via a backup and restore. You cannot back up a phone and restore it on a Macbook.

    The 'sync' messages in the future, is to connect to Messages on the macbook with the same Apple ID on your phone. Now all messages will be received by the phone and Macbook.

    For your old messages, you will need to copy and paste into emails or Notes and sync them to your Macbook.

  • How to display date / time in the browser console?

    How to display date / time in the browser console?

    You can set through the Options (gear icon) page in the Web Console (Firefox/tools > Web Developer).
    This applies to the browser console and the Web console.

  • How can I get rid of the second bar blue at the top of my browser window after I open a new window?

    When I open a new window or click a link that opens a new window, the new window has two blue bars along the top of the screen. The top bar is the one that I expect to see with the firefox logo, the name of the Web looking at page and the reduce, enlarge, close buttons. The second bar, below, has a tab orange on the left side who says "Firefox" with an arrow pointing downwards and then on the right side has him minimize, maximize and close buttons. These buttons are the same buttons on the blue bar to the top do. Below the second blue bar is the normal toolbar, but the upstream and downstream buttons do not work. How can I get rid of the second blue bar. He began to appear after the last update I did last week.

    This always happens if you launch Firefox with extensions disabled?

    This page is a report of another user with the same problem, which says that the problem has disappeared after disable the extensions.

  • Display a message to the main user of sub vi VI

    Hello

    I have a question which I'm sure he has met before, but I couldn't find it via the function or search with Google.

    On my main vi, I have a link to a sub vi, this subroutine vi check something and then displays a message to the user. The next step in the sub VI depends on what users on the input message is. But when I run my main vi, that the display (of course) is not, because I do not have a link between the two.

    Is it possible to send the message to the main vi and return the action the slot vi?

    Thank you

    Given that everything that happens in the sub vi, why would you go back to the main vi?

    Do you use the express vi "Prompt the user for entry" to get an input from the user?

    Can you post your code or make some dummy vi to visualize your problem?

  • Display a message on the device

    Hello

    I use "System.out.println ()" in my code to display a message on the screen of the actual device, but I get the message in the window to debug during the simulation output. Please notice that if I push the application on the device using BES, I get the message on the screen of the device. If not, then what is the code to use to display a simple message on the device itself?

    BlackBerry JDE 4.5.07 with Smartphone BlackBerry 2.9.0.60 Simulator

    Thanks a lot for your help

    Give a glance to the Dialog class.

  • How can I get rid of the background yellow when I display an image using the photo viewer?

    Original title: Windows Photo Viewer

    How can I get rid of the background yellow when I display an image using the photo viewer? It gives images a yellow cast.

    Thank you

    Ed Fuller

    How can I get rid of the background yellow when I display an image using the photo viewer? It gives images a yellow cast.

    Thank you

    Ed Fuller

    Hi Ed

    See the following for the patch thread.

    Windows 7 photo viewer shows images with an orange and yellow tint:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-pictures/window-7-photo-viewer-shows-pictures-with-orange/e5d31c5e-ae84-4EBD-bbe9-9428f410560b

    Concerning

  • How to limit the second tab page being copied url?

    Hello

    I use Jdev 11.1.2.4.0.

    I have a requirement like the need to restrict the loading of page second tab, when the user has copied the url of the first tab. Is it possible to check our session already open or not.

    If open how to deal. Please suggest an idea to handle this requirement. or if not how to navigate through the login page if the session is already open.

    Concerning

    Marilyn

    I think you need to use some sort of form:

    response.sendRedirect (response.encodeRedirectURL (url));

    and you have to build the good url parameter (which is a string)

Maybe you are looking for

  • Can apple device hava Iranian?

    Iranian people can buy apps from the App Store?

  • Microsoft fix it Center

    When I try to run this application, all that I get, it's a message that says "unable to download Internet convenience stores-check" can someone tell me what to do next?

  • Epson TX123 driver

    Instale drivers para una Patrick Epson TX 123 en mi laptop not the al print reconoce pero. Prevalence scanear. Debo instalar the Patrick y me pide instalar los drivers that no estan in los Epson sites. Salen muchos modelos pero no esta el. Me was for

  • Journal of the events of blackBerry Smartphones

    ALT-LGLG Displays the event log that I discovered.  I did a search, but I can't find anything that explains what it is or how it is used.  Must/should this not be sometimes erased or deleted to free up memory. Can someone point/direct me to the right

  • my windows installer is damaged. can I remove it and reinstall an upgrade?

    I can't download updates (and there are many other tasks, I can't do) because an error box appears and says my windows installer is installed incorrectly. It is Windows 7 and it worked fine before.