Creating Popup screen without borders

Hello everyone,

I'm developing an application in which I use the pop-up screen.

but the popup screen comes with white border by default.

How do I remove the border pop-up screen white default.

If possible can someone explain to me with the code snippet?

Thanks in advance

Hi Amit,

I think this thread will be useful for you

http://supportforums.BlackBerry.com/T5/Java-development/PopupScreen-with-transparent-background-and-...

Tags: BlackBerry Developers

Similar Questions

  • icon without borders

    It always seems that I always get end upward with a cube icon no matter what.   How do guys you create an icon without borders, for example, "trim whitespace" vi substring?

    Make sure only the top and the bottom of the icon is empty - i.e. Select and cut out these areas. Make sure that you do the same for the different color depths (B & W, 16, 256).

    And don't forget to terminals on the empty forest.

    Ian

  • How to make a Popup screen

    I really need help. I can't find anything specifically about this in the forum. I am very new and everything on the forum talking about things that I don't even understand yet; As the resolution of problems.

    I want just a genius to help me do that. I want to click a button and have a smaller popup screen with more buttons of your choice. That's all. Please help someone.

    The tutorials already on the site (as pdf files) are not helping. She only gives a big piece of code without explanation. I really need to understand on this.

    Hi coilfyzx,

    To create your own popupscreen, you must extend the PopupScreen class to your class. And you must provide a handler delegate to this extended class to manage presentations.

    public class popupScreen extends PopupScreen implements FieldChangeListener {
          private ButtonField mOKButton,mCancelButton;
          popupScreen(){
    
              super(new VerticalFieldManager(NO_VERTICAL_SCROLL | USE_ALL_HEIGHT), PopupScreen.DEFAULT_CLOSE);
    //here verticalfieldmanager is the delegate manager
    
           HorizontalFieldManager hfm = new HorizontalFieldManager(FIELD_HCENTER);
    
            mOKButton = new ButtonField("OK", ButtonField.CONSUME_CLICK);
            mOKButton.setChangeListener(this);//this is to listen for button click event
            hfm.add(mOKButton);
            mCancelButton = new ButtonField("Cancel", ButtonField.CONSUME_CLICK);
            mCancelButton.setChangeListener(this);
            hfm.add(mCancelButton);
    
    // now you can add your buttons here.
    
          }
    /*FieldChangeListener is for button click event in the popupscreen. For this you should implement the method fieldChanged because FieldChangeListener is an interface */
    
    public void fieldChanged(Field field, int context) {
            if (mOKButton == field) {
                //do whatever you want
                close();
            }
            else if (mCancelButton == field) {
                close();
            }
    }
    //this is for back button on device, when click pop this popupscreen
    protected boolean keyChar(char key, int status, int time) {
            if (Keypad.KEY_ESCAPE == key) {
                this.close();
                return true;
            } else
                return super.keyChar(key, status, time);
        } 
    

    Sorry I forgot to add hfm their.

    push this screen like below

    popupScreen _popupScreen = new popupScreen();
    UiApplication.getUiApplication () .pushModalScreen (_popupScreen);

    Thank you & best regards

    pp

  • Trying to create a playlist without Windows Media Player?

    Is it possible to create a playlist without Windows Media Player? I VideoLan if that's any help.

    Here's the question: I did the test.m3u file, which is placed inside the folder "Music" with the following content.

    #EXTM3U
    1\test.mp3
    

    If test.m3u exists in 'Music' and 'test.mp3' also available in 'music '. However, when I access the "Playlists" menu inside the Sansa player and then click on the 'TEST' playlist, it reads as "EMPTY". Why is this? Is it just that he can't find the MP3 file or have I done something wrong with where I placed everything?

    Any help is appreciated.

    I have successes by creating playlists m3u on my Sport Clip with music files organized in several subfolders using VLC Media Player.

    First of all, I use Win Explorer of files to create subfolders on my Sport Clip (internal or external memory) to the title of the music. Then I copy my mp3 files selected from my HD in different subfolders of music on my Sport Clip

    Then, I use VLC Media Player to load the mp3 files on my drive in the VLC playlist window.

    Can I use "Media-> Save Playlist to file-. > Save it as "abc123.m3u" and save the new playlist in one of the subfolders music on my player.   Then I can use music mode or map view on my Sport Clip to select the playlist and listen to music files through all subfolders.

    See this link for some useful screen capture

    http://stufinnis.co.UK/vlcplaylist.html

  • I tried the clean boot and now the hard drive works simply and screen went black. The mouse still moves around the screen without any outher work keys? That is what it is?

    I tried the clean boot and now the hard drive works simply and screen went black. The mouse still moves around the screen without any outher work keys? That is what it is?

    Hello

    You will need to reverse the clean boot, as it is either incidental compared to
    the real cause of the problem. What, where you try to fix initially using the cleanboot?

    You can access Mode safe? Repeatedly press F8 as you start? If so you can try the configuration - control panel
    The Device Manager - graphics card - Double click on - driver tab - click the driver UPDATE - then
    Right click on the device and UNINSTALL - REBOOT.

    Another method to try to get to the desktop (try in normal Windows Mode without failure) is
    CTRL + ALT + DEL and the processes tab find EXPLORER.exe and COMPLETE the PROCESS on this subject - and then
    on the Applications tab - lower right - new task - type in EXPLORER.exe. Safe mode is reached
    by tapping F8 as you start several times.

    First check this thread in case it is simple and if not to come back to this thread.

    http://social.answers.Microsoft.com/forums/en-us/vistaprograms/thread/50247d5e-0ae0-446c-A1bd-11287fd1478a

    Black screen problems are extremely difficult to repair and all patch is usually on a base hit or miss.
    That there is no information on a black screen as it is on a blue screen just adds to the
    Difficulty. Often using a restore point or Startup Repair will have no effect. You can try a
    Google to see the proposed repairs, whom some have worked however these cover a wide
    field efforts.

    Here's a video of one of them.

    http://www.Google.com/search?hl=en&q=black+screen+of+death+Vista&btnG=search&AQ=f&OQ=&AQI=G1

    Here's another fix
    http://blogs.PCMag.com/SecurityWatch/2008/12/the_mysterious_black_screen_of.php

    You have a Vista disk? You can try restoring the system to it. If you don't have the disks your
    system manufacturer will sell them at low prices. Or try in safe mode if you can get there.

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

    You can create a recovery disc or use someone even version (making the system restore it)
    must be bootable).

    How to create a Vista recovery disk
    http://www.Vistax64.com/tutorials/141820-create-recovery-disc.html

    ------------------------------------------------

    These require the correct Vista discs since you can not start safe mode.

    Try the Startup Repair tool-

    This tells you how to access the System Recovery Options and/or with a Vista disk
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    Try recovery options Startup Repair

    How to do a startup repair
    http://www.Vistax64.com/tutorials/91467-startup-repair.html

    -----------------------------------------------

    Here are a few Google searches where many have found different solutions:

    Vista black screen - check that a 1st
    http://www.Google.com/search?hl=en&source=HP&q=Vista+black+screen&AQ=f&OQ=&AQI=G10

    Vista black screen Solution
    http://www.Google.com/search?hl=en&q=Vista+black+screen+solution&AQ=f&OQ=&AQI

    Vista black screen Fix
    http://www.Google.com/search?hl=en&q=Vista+black+screen+fix&AQ=f&OQ=&AQI

    -----------------------------------------------

    If necessary and you can access all ordinary Windows.

    You can try an In-Place Upgrade (hopefully save programs and data) or a repair installation
    (if all goes well, the data records and need to reinstall programs). Don't forget to make a good backup or
    3.

    You can use another DVD that aren't copy protected but you you need to own
    Product key.

    On-site upgrade
    http://vistasupport.MVPs.org/repair_a_vista_installation_using_the_upgrade_option_of_the_vista_dvd.htm

    If nothing works, you can do a repair installation that needs to save the data, but you will
    to reinstall the programs. This also requires correct Vista disks especially for OEM versions. You
    will need to know your product Code.

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    How to perform a repair for Vista Installation
    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

    ---------------------------------------------------------------------------

    Another method that works sometimes: at the command prompt, type of Vista startup disk:
    (type in a single line or copy / paste a line at a time and then press enter - enter a bracket )
    or "BOLD")

    c:

    cd\

    CD c:\Windows\System32\winevt (there is a space between cd and C :)

    Ren LogsOLD Logs (there are spaces between ren and newspapers and Logsold)

    RESTART Windows

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • The value of a field to the bottom of the screen without setStatus()

    Hello

    I want to set a field to always be at the bottom of the screen without using setStatus() as it is opaque. Most of the discussions I looked at have a complex layout on top to a field at the bottom. I have a very flexible presentation, now that I have just my fields added to the Senior Manager. Is there a good way to push a field to the bottom of the screen? Or is it only possible by substituting the functions of some manager?

    Ben

    It's not trivial.

    You must create a Manager and tell it to use all the way up and not be vertically scrollable.  So the dimensions that are placed in its sublayout will give you the height available to you.

    Now, you must add two managers to this Manager.  The first is that you'll add all you fields too - it will be a standard value, so that it scrolls.  The second will be the stuff you want at the bottom of the screen.

    In sublayout you will be setting page, the second field first, get its height and then set its position is at the bottom.  This will also give you the area that is available for your manager to scroll.  You will be then layout manager to say the things that he is restrcted to the height that you left.  As he scrolls will not worry.

    Finally, in sublayout, you will find setExtent making sure you use all the height that you were given.

    For more information:

    http://supportforums.BlackBerry.com/T5/Java-development/how-to-extend-Manager/Ta-p/446749

    http://supportforums.BlackBerry.com/T5/Java-development/create-a-custom-layout-manager-for-a-screen/...

  • How to set a component at the bottom of the screen without using setStatus()

    I created a custom horizontalFieldmanager and want to put it at the bottom of the main screen in my application. My custom horizontalFieldManager contains three fields of bitmap... help me please put it at the bottom of the screen without using the setstatus method.

    OKS... If it is finally... Thanks for the help

  • How to recover data from an editable on a Popup screen field

    I have a popup screen that consist of two edit fields that contain the end and address of starting point. It seems that I can't recover the data that are filled in the fields. I would use the address to find the latitude and longitude in an attempt to invoke the map.

    CustomPopup screen = new CustomPopup(myAddress, data.getAddress());
         _controller.getUiApplication().pushModalScreen(screen);
    String newEndPoint = screen.getEndPoint();
    String newStartingPoint = screen.getStartingPoint();
    
     public CustomPopup(String sPoint, String ePoint)
        {
           super(new VerticalFieldManager());
    
           XYEdges thickPadding = new XYEdges(1,1,1,1);
    
           LabelField endDirection = new LabelField("End Point:");
             add(endDirection);
    
           EditField endPoint = new EditField("",ePoint.toString());
           Border eBorder = BorderFactory.createRoundedBorder(thickPadding, Border.STYLE_SOLID);
           endPoint.setBorder(eBorder);
           add(endPoint);
           add(new EditField(Field.NON_FOCUSABLE));
    
           LabelField startDirection = new LabelField("Start Point:");
             add(startDirection);
    
           EditField startingPoint = new EditField("",sPoint.toString());
           Border sBorder = BorderFactory.createRoundedBorder(thickPadding, Border.STYLE_SOLID);
           startingPoint.setBorder(sBorder);
           add(startingPoint);
           add(new EditField(Field.NON_FOCUSABLE));
    
           okButton = new ButtonField("OK", ButtonField.CONSUME_CLICK | Field.FIELD_HCENTER);
             okButton.setChangeListener(this);
             add(okButton);
    
        }
         public String getEndPoint()
         {
              if (endPoint == null) {
                  Dialog.alert("You must enter an Address!");
            }
            else
            {
                  return endPoint.getText();
            }
               return null;
         }
    
          public String getStartingPoint()
           {
               if (startingPoint != null) {
                   return startingPoint.getText();
    
              }
               return null;
           }
    
           public void fieldChanged(Field field, int context) {
               if (field == okButton) {
                   close();
              }
           }
    

    Hello

    Add the statement as startingPoint.setText (startingPoint.getText ()) and endPoint.setText (endPoint.getText ()) after creating the instance of starting point and the end point.  I think that this will solve your problem.

    -Roshn

    Press the button so resolute Bravo

  • List items are overlapped on popup screen

    Hi all

    I'm developing an application in which i use a popup screen and I have an ist of all data on the device (memory a sd card in the device). I show these data in a list and with a few images and checkboxes. My problem is that when I scroll or scroll through list items upward, are overlapped and yet when I scrolling to a particular element, only this element comes to its normal state.

    And this behavior is only broadcast on the devoce but when I run the same code on Simulator it works very well without any problems!

    Why this is happening? Any idea?

    Help, please!

    Thank you..

    Thnx for your help...

    My problem is solved...

    I was doing loads of operations under oaint method...

    Thank you very much...

  • How popup screen description on html?

    Location:

    After document. Write(), the application is stopped.

    Question:

    How popup screen description on html?

    You know that the following code is incorrect or other issues?

    Purpose:

    Display content on the screen.

    Minmum coding: (three methods are good to try, but fail)

    Method1

    function help() {}
    var myWindow = window.open (", 'Help', 'width = 600, height = 200');

    ...........stop here..........................
    myWindow.document.write(")

    To start

    ");
    myWindow.focus ();

    Methode2
    popup var = window.open (", 'Help', 'width = 600, height = 200');

    ...........stop here..........................
    var doc = popup.document;

    doc. Write(")

    To start

    ");
    }
    Method 3
    function help (id) {}

    var content = document.getElementById (id) .innerHTML;

    var generator = window.open (", 'name', 'height = 600, width = 200');

    ...........stop here..........................
    Generator.document.Write (')Popup');

    Generator.document.Write (')');

    Generator.document.Write (')

    This page

    ');

    Generator.document.writeln (content);

    Generator.document.Write (')');

    Generator.document.Close ();

    }

    If you know how to solve the problem, please let us know your suggestion or solution.

    Fight with the Playbook.

    Never (never never) use document.write. It can cause much more harm and confusion than good.

    If you want to display a dialog box that is customized with the text inside, the simplest is to use jQuery Mobile:

    http://jquerymobile.com/Demos/1.2.0-Beta.1/docs/pages/page-dialogs.html

    Otherwise, you can create your own by using a

    element with some custom CSS, like this

    HTML:

    this is my description

    CSS:

    .dialog {
       max-width: 30em;
       border: solid 0.25em black;
       background-color: #ddd;
       padding: 1em;
       display: inline;
       position: relative;
       left: 10em;
       top: 3em;
    }
    
  • Horizontal scroll bar is missing in the region without borders

    Hello

    I use v4.2.1.00.08 APEX and used 24 theme.

    I'm not able to see the horizontal in the region without borders scroll bar when necessary. I just used the code inside the < style > tag to display the scroll bar, below

    #RPT .uRegionContent
    {
    overflow:auto;
    }
    
    

    It works, but now I can see the only horizontal scroll bar for this region not in the browser. Can someone help me get the horizontal scroll bar in the browser.

    horizontal.JPG

    I created a test case for this species,

    https://Apex.Oracle.com/pls/Apex/f?p=32974:3:8262817666057:no

    WS/Nations United/PWD: adhimaha/adhimaha/adhimaha

    Can someone help me on this...

    Thanks in advance,

    Adhi

    Lakshmi,

    Check in your page 9 of the application or the tab Test Pars control.

    hope this has solved your problem.

    changes made

    1. create the new model of the region as a region without borders copy model

    2. change the region class 'uIRRegion' instead of 'uRegion '.

    3. apply this classic report template.

    Leave.

  • How can you print to fill an A3 page without borders

    I am wanting to print my photos to completely fill an A3 page without borders. How can I configure it in Lightroom.

    Andrew

    Thank you Joe

    First of all, I use Photoshop Lightroom CC CC. I only got these programs during a short period of time.

    I think I solved my problem. The rule on the top and sides of the screen in inches and changing this metric I might

    Print in A3 format. On the database verification tab there is no mention of European paper sizes.

    I must now sort the Photoshop because it does the same thing.

    See you soon

    Andrew

  • Microsoft Surface Pro does not open in mode full screen without the toolbar on the right projection

    I created an interactive pdf designed for the Microsoft Surface Pro 3, set to open full screen mode. Recently, I think I did something for the preferences settings and now whenever I open the file: (a) I get a warning that it will open in mode full screen (I just want it to open it without the warning); and (b) the toolbar is always right if the presentation is not really in the entire screen. Help, please.

    It's kind of like a dashboard on the right side. The tools that are available are 'tools to fill & sign' (exoanded to: add text, add Checkmark, initial Place, place of Signature). Showing also but not expanded not is 'Send or collect Signatures' and 'Working with certificates.'

    I have been a little more troubleshooting on mine, and now I'm fairly certain that the toolbar appears because the document contains few fields to fill. I removed these items and now the file is opened in mode full screen without the list toolbar.

  • pop-up window without borders

    Hello

    I added a pop up widow to a site to display information of calibration for clothing, but it looks like just another window, I want to achieve is a popup window is without borders, which is more like an image, any suggestions on how to achieve

    a popup, triggering a new 'window' will display window chrome around the window.

    Use a pop-up text box and style it without a border.

    See an example here (remove the border)

    You can also remove the overlay style if you choose.

    Change the fiddle - JSFiddle

  • How to animate elements on the screen in the center of the screen without percentage

    Hi, I am very new to Adobe Edge. I take a class for itself at the College so I know the basics, but still to learn. I am trying to create a very basic animation where I have 2 active who are beginning to leave the stage on each side. I wish that the elements to be introduced on the sides and meet in the middle with a duplication of 20px. I tried to set a keyframe for both items at 0 seconds and affecting the translations of X - 2000px and 2000px and then by defining another keyframe to 5 seconds and change translations of X to 48% and 52% respectively. It made me the desired effect, but only because I have such a big screen. If the browser window is resized or the screen is smaller, the effect of not not remains the same due to the use of percentages to Center elements.

    In fact, my question is: is there a way to animate elements until the middle of the screen without percentages (perhaps using margin: 0 auto or something)? Or is there a way to accomplish what I'm looking for so that the positioning of elements is the same regardless of the size of browser window?

    Thanks in advance!

    Nevermind, just ended up using jQuery right and got the effect desired in a few minutes.

Maybe you are looking for