Full screen when the user presses tab pane

Hello

I have a tab pane in my application. When the user tab special tab I want to hide the tab pane and demand should be the mode display full screen. Is it possible to achieve with default tab pane?

I solve this problem using the custom button instead of the default tab pane.

Thank you

Megha.

Tags: BlackBerry Developers

Similar Questions

  • stay on the current page. When the user presses ESCAP.

    int

    if (type1 is Dialog.OK)

    {

    intask (Dialog.D_YES_NO, "Please confirm");

        if (type is Dialog.YES)

    {

    perform your task if yes

    ClearAll();

    Login_Screen.disconnect ();

    UiApplication.getUiApplication () .pushScreen (new L_Screen());

    }

    }

    if (type1 is Dialog.CANCEL)

    {

    What should the code because I want to stay on the page current user //press whe cancel but

    }

    Type1 = Dialog.ask (Dialog.D_OK_CANCEL, "Do you want to disconnect now?");

    Hello friends,

    I do the page to disconnect. I want to give confurmation beform logout. Everthing is working. but

    Aler dialogue ask first you want to disconnect or not?

    If he says cancle I want to stay on the current page. but still he go on the back. When your press esce I check everything.

    Please tell me what is the code to stay on the current page when the user press cancle alser dialogue?

    That's what I understood.

    I don't think you understood what I was saying. so here's an example of code:

        protected boolean keyChar(char character, int status, int time) {
            switch (character) {
                case Characters.ESCAPE:
                    confirmClose();
                    return true;
                default:
                    return super.keyChar(character, status, time);
            }
    
        }
    
        private void confirmClose() {
            int resp = Dialog.ask(Dialog.D_YES_NO,"Do you really want to Quit",Dialog.NO);
            if ( resp == Dialog.YES ) {
                resp = Dialog.ask(Dialog.D_YES_NO,"Do you really, really want to Quit",Dialog.YES);
                if ( resp == Dialog.YES ) {
                    // Close the screen as you currently do it
                }
            }
        }
    

    If you don't mind asking me, please use English. for example, the letter "y" is, is not the question why.  I recommend this spell check you your messages also, don't forget that a lot of people who use these forums are not native English speakers, so we use English must be as clear as possible.

  • How can I set up a structure of the event that sends text when the user presses the button "Return"?

    I'm new to programming of the Structure of the event.  I am trying a program which causes the content of a control to the string to be processed when the user presses the button back in after typing in the control of the chain.  I think (I hope!) that it is simple, I just can't understand how do.

    Basically, I would take the attached VI and change so that the user can send the value of control 'String In' to the indicator "String Out" either by pressing the 'Return' key or press the button 'send string. '

    Any help would be greatly appreciated.

    This example has nothing to do with the RETURN key specifically.  It fires all simply whenever the value of the control is changed.  If you click outside the text box or on another still controls the value changes and still the event is raised.  This is often the desired so if it works in your application, you good to go.

    You CAN ONLY answer a particular key if you wish.  Set your event to meet 'This VI' > key down.  Then, read the proposal Vcle on the left side of the structure of the event and compare it to the RETURN (for example).  The Boolean result of the comparison gets connected to a structure to deal with your code to run inside.  You can also wire Vcle directly to a case structure and execute different code based on which key was pressed last.

  • How to avoid the minimizin of the screen when the user down ups slide

    How to avoid the minimizin of the screen when the user ups the down slide.

    Hello

    I guess that not possible because this is a feature of the system. Be able to substitute the blow to the gesture of bottom up would mean for combat when a user can switch to another application. It is not something that an application must be able to do it at all.

  • Open a new window when the user presses the button

    Hello

    I have a button (BUTTON HTML) that opens a URL... but it opens URL in the same window...

    is there a way to open a new window (popup) when the user presses the button...

    Thanks in advance

    Hello

    Just change the button to the target URL.

    Specify the URL like: javascript:popupURL('__');

    popupURL is a function of popup. You can use the pop-up popUp2 (these are functions in the library of the apex with slightly different implementations), window.open, etc.

    popupURL
    function popupURL(a){html_PopUp(a,"winLov",800,600)}
    
    popUp
    function popUp(URL) {
     day = new Date();
     id = day.getTime();
     eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=600,height=600');");
     }
    
    popUp2
    function popUp2(b,a,c){day=new Date();pName=day.getTime();html_PopUp(b,pName,a,c)}
    
  • run when the user presses ENTER

    Hello

    I have a program that scans a serial number and gives power.

    RightNow, I scan the serial number and the hit on the laview toolbar.

    But, I would like to program it so that when the user scans a number it would automatically generate results, without me hitting run or an OK button at all times.

    I enclose my vi below.

    So, anyone has any tip for me on how I could go about this?

    Thank you very much in advance,

    Yeshani

    Hello

    Here is a version that uses polling.  The entrance was there properties so that it is not until that you press ENTER.

    The reference is in fact a local variable.

    Local variables and the voting clerk aren't often mouse, but for "just a text entry" app, it should work well.

  • Disable mode full-screen when the window is moved at the top of the screen?

    Is there a way to disable the feature by which a window is maximized size full screen when you drag to the top of the screen?

    I guess some people, it is useful to have a full screen for their programs, namely graphics applications. But when I fix my screen, I want to place the upper part of the program directly on the top of my screen. It's something that I can't do now - without activating the real behavior of full-screen.

    Help!

    ROXY

    I found the following in Windows Help and Support re disabling Snap:

    How can I turn Snap on or off?

    How can I turn Snap on or off?

    Snap is turned on by default, but you can disable it if you want to move windows around the same way you did in previous versions of Windows.

     Go to the Windows site to see the video. (01:19)

    To enable or disable the Snap

    1. Click to open Accessibility.

    2. Under explore all parameters, click on make the mouse easier to use.

    3. According to make it easier to manage windows, do one of the following:

      • To turn off the snap, select prevent it windows from being automatically arranged when moved to the edge of the screen check box.

      • To turn on the Snap, clear the prevent windows from being automatically arranged when moved to the edge of the screen check box.

    4. Click OK.

  • How prevention JButton to actions generated when the user press down

    How prevention JButton to actions generated when the user hold down the key or the short cut
    The code below to show the question when the user keep pressing Alt O
    We want to stop the JButton to generate multi shares just a share only
    A code example shows the behavior that needs to be prevented. Keep pressing "Alt + O" and you will see that the standard ouptput will print the timestamp
    Note Please, I'm NOT interested in the mouse press which is a solution by adding a threshold (setMultiClickThreshhold (long line) on the JButton as an attribute.

     
    public class TestPanel extends JPanel
    {
    
       private JButton btn;
    
       public TestPanel()
       {
          btn = new JButton("Open");
          this.add(btn);
          registerCommand(new MyAction(), InputEvent.ALT_MASK,
                KeyEvent.VK_O, btn, btn.getText(), 0);
       }
    
       public static void registerCommand(AbstractAction action,
             int mask,
             int shortCommand,
             JComponent component,
             String actionName,
             int mnemonicIndex)
       {
          InputMap inputMap = component.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW);
          KeyStroke knappKombination = KeyStroke.getKeyStroke(shortCommand, mask);
    
          if ((component instanceof AbstractButton)
                && mnemonicIndex >= 0
                && mnemonicIndex < actionName.length()
                && (shortCommand >= KeyEvent.VK_A && shortCommand <= KeyEvent.VK_Z))
          {
             ((AbstractButton) component).setDisplayedMnemonicIndex(mnemonicIndex);
          }
    
          if (inputMap != null)
          {
             ActionMap actionMap = component.getActionMap();
             inputMap.put(knappKombination, actionName);
             if (actionMap != null)
             {
                actionMap.put(actionName, action);
             }
          }
       }
    
       public static class MyAction extends AbstractAction
       {
    
          /**
           * 
           */
          private static final long serialVersionUID = 1L;
    
          @Override
          public void actionPerformed(ActionEvent e)
          {
             System.out.println(System.currentTimeMillis());
    
          }
    
       }
    
       public static void main(String... args)
       {
          SwingUtilities.invokeLater(new Runnable()
          {
             public void run()
             {
                JFrame frame = new JFrame("Testing");
                JPanel panel = new TestPanel();
                frame.getContentPane().add(panel);
                frame.setPreferredSize(new Dimension(500, 500));
                frame.setMinimumSize(new Dimension(500, 500));
                frame.pack();
                frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                frame.setVisible(true);
             }
          });
       }
    
    }
    Published by: user12130673 on 13-feb-2013 03:01

    Use getKeyStroke (int keyCode, int modifiers, boolean onKeyRelease) hit with onKeyRelease = true instead?

  • Force the Image to fill the screen when the user resizes the window

    I use flex and actionscript to create a site of photographer and I want the bottom to display an image that completely covers the bottom without distortion.  I tried just an image tag and characterized by the width and height to 100%, but the problem comes when the screen looks wider than the photo.  Thus, the height is reduced to 100% and the width is something less.  I would have rather it evolve according to what is most important, that is, if the window is too wide, the photo with a width of 100% on the scale and let the excess off the screen.  In this way, the photo is still cover the screen and there is no background color of distractrating showing.

    I was counting on the use of actionscript to indicate the width and height of the image so that I can compare it to the height and width of the window, but it seems that you can not get the dimensions of the photo.  I use application.width and application.height, but I need a way to compare it to the photo.  Also, is there an eventlistener that I should use to monitor when the user resizes the window or image resizing will be done automatically?

    Thanks for your comments,

    Tim

    The application container inherit "resize" event of UIComponent.

    Application.application.Width will give you the size of the application in the browser window.

    Thus,.

    function myResizer() {}

    img1. Width = Application.application.width;

    }

  • Screen do not maximize mode full-screen when the taskbar is set to hide

    original title: Gap Auto-Hide

    I put my tool bar to auto hide. Normally, a zoomed window will extend to the bottom of the screen when the task bar is hidden. However, whenever I restart Windows, any window that is maximized will only go down insofar as space of the taskbar visible again, even when it is hidden. Turning auto-hide and the new set, but only until that next time that I reboot. Is there a way to fix it permanently? I use XP Pro.

    The problem I have is happening with any program that I open, not only IE and windows, then I would say it's more a problem of Windows.

    I don't think that was said in the original post.

    Check you the Technet Forum - they are the best service.

    http://social.technet.Microsoft.com/forums/en-us/itprovistadesktopui/thread/4aa71ed5-3500-4d11-A461-7d80c0847f91/

  • Flatten or lock a pdf form to be completed when the user presses the button "submit"

    Hello.  I have searched all over the net trying to figure this out.  I have a form that I created in LiveCycle and as I inserted a "REGULAR" button, with the following script:

    Create a variable to hold the document object

    var

    oDoc = event.target;

    oDoc.mailDoc({)

    bUI

    : true,

    cTo

    : "[email protected] " ",

    bassujetti

    : "New procedure - operator ' + TextField1.rawValue + "-ID" + TextField2.rawValue

    CSMG

    : "Attached is the form of the new procedure for the operator" + TextField1.rawValue + "-ID" + TextField2.rawValue + "." ,

    });

    This script is sending an e-mail to "[email protected]" and fill in the subject line and the body of the message with text and some elements of the fields in the PDF file.

    I want to have the locked PDF or flattened when the user clicks on the button submit, to ensure that the information in the PDF file is not modified once they submit.  I can't find any way to do this easily.  I found a script that will flatten the message (below), but I don't know how to add it to the email script that I pointed out above.  I don't want to add a second button to the form that I want to keep it as simple as possible for the user.

    Any suggestions that anyone might have would be greatly appreciated.  Thank you.

    Ryan

    Hello

    Check out this example:

    http://thelivecycle.blogspot.com/2010/02/mail-XFA-forms-as-protected-UnEditable.html

  • can I disable the close full screen when the volume control on the volume slider?

    Information system: HP Pavilion dv7-3065-dx Entertainment PC running Windows 7 Home Premium Service Pack 1

    Information problem: whenever I'm viewing in full screen and I change the volume, fullscreen application is minimized and the desktop with pop-up windows volume level indicator

    For example: I watch a video in full screen and decide the volume is too low or high. I use the remote control supplied with the PC or the volume above the keyboard slider. Setting the volume level, the movie gets completely minimized and the desktop. Soon after, the volume level indicator appears on the screen. I then have to click on a program to open, and then press the button full screen again... Is it possible that I can disable the process and adjust volume without changing the display?

    Hello

    The only way to avoid this is to uninstall HP MediaSmart SmartMenu (listed in programs and features) - this is the utility that is responsible for the OSD volume which in turn, reduces to a minimum the current screen.

    Kind regards

    DP - K

  • Change the background color of the slide show full-screen when the option fit content proportionally

    I signed up for a demo of Muse and I must say that I am very impressed. After using Dreamweaver in the past in school, often get bogged down in the code, Muse is a designers dream. I even told a few friends about it, calling for «InDesign for web designers» The features and tutorials on Adobes site, are fab but I need now to a little help.

    I want several images to fit the entire screen on a specific section of my Muse site, just below the navigation bar. I noticed the best way to do this is to create a slideshow full screen. With this option I can add one or more images fade in and out - communicate various messages and points of sale. By default, as the widget options are defined in the charging framework, which extends from my image to completely fill the browser. Unfortunately with this selected the image loses some quality and seems to zoom in, getting cropped in the process. When you change the settings to adjust the content proportionally everything looks great. The chart is smack bang under my sailing as I desire however there is also a horrible gray area each side because the graph is now its original size. Grey on each side seems to be the background color of the slideshow, but I can't find a way to change this - from grey to black. Please check the link for more information: https://dl.dropboxusercontent.com/u/50403221/Screen%20Shot%202014-08-14%20at%2018.00.34.pn g

    If any colleague Musers know of a way around this? Or maybe it's an enhancement request?

    Thanks, Chris

    Hi Chris,

    You can select the slideshow widget that you added and check the fill color in the control panel.

    Please refer to the following screenshot:

    Kind regards

    Akshay

  • Stop options does not pop up on the screen when the user clicks the button on the arrow next to the button lock on the start menu.

    Please answer quickly because I have to shut down my computer laptop evertime and cannot put on the sleep / hibernate.

    Use this tutorial:

    Shutdown options - Start Menu
    http://www.Vistax64.com/tutorials/105003-shutdown-options-start-menu.html

    This will show you how to remove or display options stop,restart,sleepand Hibernate from the menu start and the button in the Windows Security screen, when you pressCtrl + Alt + Delete.

    t-4-2

  • Autofocus TextField when the user presses the keys (and possible race condition)

    Someone tried to implement a device by which a TextField (or text box, I guess) automatically gets the focus when a user starts to type anything? It is very convenient to have something, at least with a phone model Qwerty, in certain situations. (A use case is where a list that is too long for the useful shortcuts, but the TextField object is used to implement a filtering mechanism that can reduce the data set to a reasonable size, and the user can then scroll just to find a target element).

    I've set up something using a KeyListener (calling requestFocus() for the TextField object) attached to the container Page, but there are problems with it.

    It's a question that the first keystroke does not render in the TextField object, since it has not a focus when the key was first struck.

    To solve that you can enter the key (event.unicode) and that insert into the TextField object, and then the following keys go on the field you want... but there is also a problem with that.

    If you type two or three buttons in quick succession, probably less than 50ms between them, you can see that even if the KeyListener gets each of them, the TextField object receives the second or, sometimes, the third, even if you can check that by the time second keyPressed/output signal arrives in your earpiece the TextField claims to have developed (TextField.focused is true).

    This seems like a bug, but maybe it's just a case of corner cascading who is inevitable, given its design... I'm not sure.

    If anyone can reproduce it, thanks for posting here. I'll do a test case to prove and will report it as a bug if you do.

    If anyone has a reliable and quality approach, please post here too! :-)

    P.S. for a good laugh, a code here that I did for my particular case, which seeks to avoid the race condition. As you can see, this is a great hack, but it works 100% reliable for me so far with a fairly comprehensive test (including the tests with the movement of the cursor, copy/paste, etc.). It's too complicated to analyze and ensure that it is really robust, however, but feel free to use... If you care enough. ;-)  http://pastebin.com/r2VUtPJC

    Have you tried setting the primaryKeyTarget it's inputRoute?

    https://developer.BlackBerry.com/native/reference/Cascades/bb__cascades__inputrouteproperties.html

    Has been added to the 10.1, which should do what you want.

    You can also achieve the same messing around with pre FocusPolicy 10.1, but it is much simpler.

Maybe you are looking for