How to remove setStatus field

Hi all

I'm new with the BlackBerry JDE.

I want to use the progress bar on the bottom of my screen.

I use setStatus (Field) in my screen. It's works.

But, I could not delete the field.

I have try this delete (Field), but it's IllegalArgumentException.

Someone knows how to remove the setStatus field.

Thank you.

setStatus (null);

Tags: BlackBerry Developers

Similar Questions

  • After using popScreen() than pushScreen(), how to remove the fields present in this first screen.

    I have two screens, first_one contains 17 fields & by a button_presnt in the first screen, I'm reaching to the second screen, on the second screen after pop_screen (first) & push_screen (first) I get my first screen, now I want to remove 15 fields, but I face the error, this illegal argument exception, or "Try to delete a field that is not the Manager"... & Note this point I got the get_field_count from the first screen.
    Try

    {

    UiApplication.getUiApplication () .popScreen (object_to_supprot);
    UiApplication.getUiApplication () .pushScreen (object_to_supprot);
    }
    catch (Exception err)
    {
    Dialog.Inform ("page load error:" + err);
    }

    Try
    {
    Dialog.Inform ("field homepage County:"+ object_to_supprot.getFieldCount () ');

    int k = object_to_supprot.getFieldCount () - 1;

    While (k > 1)
    {
    Delete (object_to_supprot.getField (k));
    k-- ;
    }
    }
    catch (Exception err)

    {

    Dialog.Inform ("error in the setting of the key work:" + err);

    }

    I disagree with Simon here.  I think that the deletion of fields of a screen is a valid thing to do.  I can see the case when you are using the same screen, but have two different sets of data that require slightly different fields on the screen.  This is what seems to be the case here.

    I just realized what is the problem.

    your code:

    Delete (object_to_supprot.getField (k));

    must be:

    object_to_supprot. Delete (object_to_supprot.getField (k));

    Your current code is actually:

    This.Delete (object_to_supprot.getField (k));

    and 'this' is probably your second screen.  You want to remove fields from your first screen.

    Can I ask you to review my first post and Simon post, once again.  If please review how to use the battery in the display and make sure that you use it properly.

  • Repeat dynamic region - how to remove empty fields

    I have a results page that shows a result of searching for a simple contact DB. This page has a region repeatedly, based on the fields of dynamic text for contact, address, city, State, zip and phone.

    The problem is that sometimes there is only a contact name and phone recording in mySql. In these cases, I do not want to have 4 spaces for the missing address, city, State and zip.

    Y at - it a php script that I can use that ignores text holders if they are null in the DB?

    destind4film wrote:
    > So here is the code for my problem of empty spaces.

    The answer is so simple, you're going to get started. You have
    inserted the conditional statements, but the
    the tags are
    Apart from them, so they always get inserted in the page. The
    Tags
    as part of the conditional statement, too. Put them before each
    point to the place at the end of the previous one. This way, you will get a
    linefeed only when it is really needed. I also removed the PHP
    Tags around each line. They do no harm, but they make the code more
    difficult to read. Dreamweaver automatically inserts around Dynamics
    because text that he has no idea where you're going to place it. Given that the
    the database results are displayed as a single block, you need the tags only
    at the beginning and at the end of the block.




    If (! empty ($row_directoryResults ['doctorName']))
    echo '
    '. $row_directoryResults ["doctorName"];
    If (! empty ($row_directoryResults ['clinicAddress']))
    echo '
    '. $row_directoryResults ["clinicAddress"];
    If (! empty ($row_directoryResults ['clinicCity']))
    echo '
    '. $row_directoryResults ["clinicCity"];
    If (! empty ($row_directoryResults ['clinicState']))
    echo '
    '. $row_directoryResults ["clinicState"];
    If (! empty ($row_directoryResults ['clinicZip']))
    echo '
    '. $row_directoryResults ["clinicZip"];
    echo '
    '. $row_directoryResults ["clinicPhone"];? >



    mysql_fetch_assoc ($directoryResults));? >

    --
    Adobe Community Expert David Powers
    Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • How to remove the email field in the contact form

    Hello

    I have a problem with the contact form widget must. When I import the widget on the site, I can't delete the email from the contact form field. How can I delete? By pressing the delete key, nothing happens, click on the blue icon appears select required, it won't let me...

    Any help on how to remove the e-mail form would be great.

    Hi Brad,

    Thanks for coming back. Yes by using other forms solves the problem, but the widget is so quick and easy. Pitty this field cannot be deleted.

    See you soon

  • Ive found more than a hundred websites in my registory how to remove my laptop field sites and how they arrived there?

    Ive found on coal in my registory 100 web sites, I would like to know how they got there and how to remove them. "I have a lot of distance connects to my laptop that I don't know how to close", some websites in the programs, it has a password and why is there a password when I never put an on I know my boyfriend has something to with him cause, it has a locked user account and having the present rights please give me an idea what to do before I get rid of my laptop recommended xxx websites in the registory $ 600 million, I feel that I have no privacy please help. responses may be sent by e-mail to dinaallred@hotmail,com

    If you are unsure how this kind of content you obtain on your computer, it is better to assume that it is completely and carefully contaminated with unwanted software, viruses, spyware, or other such unpleasant things.  Check with your laptop manufacturer to see how to do a factory restore to destroy the computer and restore it if you "new factory".  Make sure that you back up files like photos, music, documents and other first because they will be gone once the system is cleaned and restored.

    Once he has restored put on user accounts and to limit access to people only trust you.

  • How can I remove the field: "Mail" in an AdobeMuse form?

    Hello

    I can remove all fields except the E-mail field.

    Is this possible?

    Jürg

    Hello

    I would like to inform you that the Email is a mandatory field in the form of Contact of the Muse and it cannot be deleted. In case you want to create a form that do not have an email field, you can try for any third-party form builder and embed it in the Muse of object > insert HTML code. The freeform Builder is jotform.com.

    You can also go to the idea Page Muse below to share this feature request.

    Ideas for features in Adobe Muse

    Concerning

    Vivek

  • How to remove a user name of unwanted e-mails that appears only with firefox and not with chrome or internet explorer.

    This problem is to go to a Comcast email address wandering through the homepage of Comcast - Comcast records do not appear this username exists anywhere within their system and says it's a firefox issue. The unwanted name appears that when you use firefox to access the homepage of Comcast and drop sign-in window. When you click on the wrong user name, the message indicates the address is not recognized. Bad user name does not appear when the homepage of Comcast is implemented using chrome or internet explore. Would appreciate advice on how to remove this unwanted user name which seems to lie somewhere in the system of firefox. Grateful to all those who would try to help.

    You can use the following steps to delete the recorded data (form) in a drop-down list:

    1. Click on the (empty) input field on the web page to open the drop-down list
    2. Select an entry in the drop-down list with the mouse or the cursor key
      do not click with the mouse or press the Enter key
    3. Press the DELETE key (on a Mac: shift + del) to delete the highlighted entry
  • How to remove a password attached to a login name

    I accidentally entered a password as well as my login information to a website - how to remove this password / user name?

    You can use the following steps to delete the recorded data (form) in a drop-down list:

    1. Click on the (empty) input field on the web page to open the drop-down list
    2. Select an entry in the drop-down list
    3. Press the DELETE key (on a Mac: shift + delete) to remove it.
  • How to remove pages on a mac book models

    How to remove templates, I did on my mac through the pages book? the delete button does not work?

    Hello..

    In the template chooser, the name of the model, the control key, and then choose Rename or delete.

    You can also get help for Pages in other words. With the open Pages app, go to the menu bar help > Help page

    In this case, you must type: Remove Templates in the search field top right of the Help window, and then press enter or return on your keyboard.

  • In trying to move the photos to the key, I've accidentally moved into my office - they kept sort of duplication and there is 7 000 or them - how to remove the easily?

    Mac Pro 10.11.4 17 "

    In trying to move photos to the key, accidentlaly I moved into my office - they kept sort of duplication and there is 7 000 or them - how to remove the easily? I've been

    Open your desktop folder in the Finder, then type 'image' in the search field in the Finder window toolbar and value of the research for "kind: Image".

    Define the scope of the search for "Desktop".

    Now, you can select all items in the window by entering ⌘A, then drag the photos in your Inbox.

    Check a second time, that the scope of the research really is 'Office' and not 'this computer '.

  • How to remove old calendar events

    How to remove events calendar 2010, 2011, 2012, 2013, 2014, and 2015 before December 1.

    Fl3450,

    Make a backup of your calendar. Calendar > File > Export > Calendar Archive...

    Type a. in the calendar search field.

    Your events should be listed from oldest to newest in the results column. Click outside the results column or use the "esc" key to eliminate search results. The results column must always be visible.

    Highlight the oldest event in the results column and click it. Scroll up to "before December 1" and shift click on this event. Press the "DELETE" key and your old events will disappear.

  • How to remove a contact from the drop-down list?

    How to remove a contact when, if forwarding a message, the icon flashes in space 'To' to enter the email address, when you press the first letter of a recipient, it displays a list of previous names/addresses used. This can add to a huge list! Most of the time, it is useful, but how can I shorten the list by removing unwanted contacts in the drop-down list? I got them removed from my address book/contacts (and they are deleted) but even after re-booting the computer, their names still appear in the drop-down list as before. All solutions?

    Instead of typing the first letter of the name of the recipient

    Press on the envelope icon to next to the box where you type the name of the recipient

    Opens the selection of recipients

    Highlight the recipient of choice

    Click on the button to

    The name appears in the window of the recipient of the Message

    Windows CC and British Colombia should remain virgins

    Press Ok

    The name of recipients appears in the field to the message

  • How to remove the other program the Virus Protection Windows Security Center colume antivirus?

    My PC run in Windows XP Home Edition. After you remove COMODO antivirus program, I find the untapped in Protection Virus Windows Security Centre colume COMODO antivirus program.

    How to remove the Virus Protection Windows Security Center colume COMODO antivirus program? Need help & solution.

    Have a good time.

    Hello

    * Go to start > run and type: wbemtest > press enter
    * There, click on connect
    * In the field at the top, where it says "root\default", type root\SecurityCenter instead, and then click the button to connect.
    * At the bottom, click on the button "request... ".
    * In the query box, type: select * from AntivirusProduct and click on apply.
    * In there, select the entry with the guid {043803A3-4F86-4ef6-AFC5-F6E02A79969B} and click on remove below. Then close this window.
    * In the query box, type: select * from FirewallProduct and click on apply.
    * In there, select the entry with the guid {043803A3-4F86-4ef6-AFC5-F6E02A79969B} and click on remove below.

    This applies only to when you had installed Comodo. For other Antivirus and firewall, it will be a different guid.

    I hope this helps.

  • How to remove firefox don't forget user ID?

    How to remove firefox don't forget user ID? whenever I have connection to gmail to its shows the information.how user can remove that. Actually problem is by mistake that I gave my password in place and place the username... so after every time I login to gmail its display of the id of the user but which is actually my password.

    I enclose the screenshot... In the screenshot I marked in RED on the password that is on display in the user name field.

    Please help me...

    If necessary you can reach me at the

    Edition # phone public and spam/search bots like nobody here can't stand by phone.

    Hi, when selected, press the delete key.

    See also: If Firefox automatically fills in forms of control

    If your question is resolved by this or another answer, please take a minute to let us know. Thank you!

  • How to remove a button click menu

    I made a button aaray

    So how to remove menu when you click on to the next screen

    You can add simply detect in, click on the button to

    buttonField.setChangeListener (new FieldChangeListener() {}
    ' Public Sub fieldChanged (field field, int context) {}
    Write code here to run when the button is clicked.
                                        
    }
    });

    Sample code to change the menu

    /**
    * Method to menu
    */
    protected void makeMenu (menu Menu, int context) {}

    ViewFullScreenMenuItem MenuItem = new MenuItem ("view fullscreen",
    0, 1) {}

    public void run() {}
    If (currentBitmap! = null) {}
    pushFullScreenViewPrizeScreen();
    }
    }
    };
    menu.deleteAll ();
    menu. Add (viewFullScreenMenuItem);
    }

Maybe you are looking for