Removing cancel button

For some time now I try to customize UIImagePicker and ABPeoplePicker. I want to remove 'Cancel' buttons that appear next to the title on the navigation bar of both controllers. Any help with this issue is greatly appreciated, as I ran out of ideas and am fed up with lack of documentation how to customize the controllers

I solved this, all you have to do is to implement delegate method -willShowViewController and for any bar button item you want to disappear you need to make it's frame to CGRectMake(0,0,0,0).

Similar Messages

  • ADF Input Date - To remove cancel button while clicking glyph

    Hi Guys,
    In the Input date if we use the <af:ConvertDateTime> then in the popup we will have time zone,OK and Cancel Button. In this i want to remove the Cancel Button. Why i want to remove is in the popup the Close button is already fullfilling the functionality. Hope this should be done using CSS.
    Kindly let me know how to do it?

    Hi.,
    I hope this url will help u..
    http://docs.oracle.com/cd/E23549_01/apirefs.1111/e12419/tagdoc/af_inputDate.html
    Thanks,
    parame

  • Removing "Cancel" Button from JColorChooser...

    Hey
    I was hoping that somebody knew of a way of getting rid of the "Cancel" Button in JColorChooser.
    Thanks for anyones help!
    Claire
    x

    I don't think you can do it without overriding big chunks of it. The problem is that the dialog the buttons are on is actually created when you call showDialog(). Here's something thoughimport java.awt.*;
    import javax.swing.*;
    public class Test2 {
      public static void main(String[] args) {
        JColorChooser jcc = new JColorChooser();
        Color c = null;
        while (c==null) c = jcc.showDialog(new JFrame(), "Pick a Color", Color.white);
        System.out.println("You picked "+c);
        System.exit(0);
    }

  • Removing 'Cancel and Remain Item in Inbox' Button from Workflow

    Hi,
    When I create an option in workflow by default we get one option 'Cancel and Remain Item in Inbox' I think this option appears in ECC 6.0 & above. I want to remove this button from the workitem which is automatically appearing below my approve option.
    Can anyone tell me how to remove this option.
    Thanks & Regards.
    Shweta

    Hi,
    There is no standard way for hiding this option in the decision step (if I understand correctly what you mean). This has been "always" there - even before ECC 6. Basically this option is actually quite useful, if the user does not want to complete the task at the moment, and keep the work item in his inbox to return to it later.
    If you really need to hide it, it will probably mean that you need to make your own version of the decision task (and the method). You can check/debug the code of the method, and see where you could hide the button. BUT if you just need to hide this button for one certain task, it might much easier to just create your own simple screen and use that instead of the standard decision "screen".
    Regards,
    Karri
    PS. Try to search this forum for some hints. I remember seen this same topic discussed quite a few times, and there has been quite clever solutions.

  • How to disable the cancel button in the ProgressMonitor

    hi,
    I need to know, is there any way to disable/remove the (cancel)button in the ProgressMonitor?
    One more problem is,
    Once i click the cancel button, isCanceled() return true, how to make it false again so that the process continue....
    It is very urgently.....
    please help me out.
    Thanks in advance.
    Regards,
    Deepa Raghuraman

    I don't think that's a good solution, because Cancel button itself is not disabled, so user is tempted to click it and nothing happens.
    A better but dangerous solution is this:
    progressMonitor = new ProgressMonitor(ProgressMonitorDemo.this,
                                         "Running a Long Task",
                                         "", 0, 100);
    progressMonitor.setMillisToDecideToPopup(0);
    progressMonitor.setMillisToPopup(0);
    progressMonitor.setProgress(0);
    JDialog dialog = (JDialog)progressMonitor.getAccessibleContext().getAccessibleParent();
    JOptionPane pane = (JOptionPane)dialog.getContentPane().getComponent(0);
    pane.setOptions(new Object[]{});Refer to the same question here [http://stackoverflow.com/questions/512151/how-do-i-disable-the-cancel-button-when-using-javax-swing-progressmonitor] .

  • Strange Blank Services Page with a "Cancel" button

    Hi All!
    For some strange reason my Cisco IP Phone's "Services" button is associated, as default, to a blanck page with a single "Cancel" button as the 3rd softkey. For example, if I push the "Services" button, this default pag will be shown first and seconds later, the page I specified in Call Manager as associated to the "Services" button.
    Usually this is not a problem, only that when I try to push a CiscoIPPhoneImageFile object to the phone, in the 2-3 second while the phone is downloading the image, this blank page will be shown and it stays there untill the image is fully downloaded. It is especially annoying as my ImageFile object has a 3rd softkey button called "Exit", so the user will witness a button first appeared as "Cancel", and then suddenly changes to "Exit"!
    Any one know how do I remove this strange "default" blank page, or at least change its "Cancel" button to whatever I prefer? Thank you very much for your help!

    Could it be that on the phone you're using, you have signed up for a service that turns the service list into something the phone cannot handle (e.g. the application name is too long)? The empty page with a cancel suspciously reminds me of what you get when the phone chokes on an xml element.

  • Pixma MG7120 CANCEL BUTTON?How do I clear a paper jam trying to set up new printererror code 6000

    Just pruchased 7120. Doing set up  got  to the add paper  for alignment The  paper jammed and code says hit cancel  button and restart.  There is no cancel button . I cant clear the paper jam  and the only  button to access is the on/off button. Says code 6000. HAve  unlugged, restarted. Nothing makes a difference. In teh store before I bought  it, there  display  printer had teh same problem.  I asked them  what happens if I get the same thing on my new printer  they opened a  new printer  and set it up for their display. with out  problem. Now I  am home with a  new one and cant do anything, HELP! 

    Hi Charlene,
    To try and resolve the paper jam, please turn off the printer and unplug it, then remove the back panel on the printer, then the gray plastic piece.  Hopefully, you will be able to see the paper that is jammed in the printer and be able to remove it.  
    Once the gray plastic piece and back panel have been put back on, please plug the printer back in and turn it back on.  If the error persists, the printer will require servicing.  Please call or email us at one of the methods on the Contact Us page to obtain your servicing options.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • To remove Cancel and Keep workitem from User desicion

    Hi,
      I am having a requirement that I need to remove the extra system added button of <b>cancel and Keep workitem</b> in the User decision activity. I don't want that to be shown to the user for proccessing , I shoud display only Approve and Reject option. But the third one is getting added by iteself.
    Can any one please guide me in removing this option from the workitem.
    Advance thanks .
    Regards,
    Sabari Prabhu.

    Hi,
    I'm not on a SAP system right now, so i'm not sure if this will help (or is true for that matter).
    I think in the tabs of the step definition, you can alter the code used for the user decision.
    Or, if this is not possible, you can also create a custom ud step and a custom BO of the method used in decisions and change the method of the decision, so that these don't show up.
    I do not think that this is an easy solution.
    May I ask, what the functional requirement, or even the business spec is, for this? I think the cancel button is very handy, when users accidentally picked up a work item and is SAP standard behaviour.
    Kind regards, Rob Dielemans

  • Error with "Open/Create/Replace File" function with cancel button

    I've attached a very simple VI that embodies what I want to do with my Open File function. I simply want to stop the rest of my program (theoretically encased in the Case Structure) from running if the user deigns not to specify a file location.
    However, if the Cancel button is clicked an error is produced before the rest of the program runs. If you ignore the error and continue, the "cancelled' variable is appropriately made true and the Case Structure runs properly. I simply want to remove the error message LabView gives me.
    Any ideas on why or how?
    Solved!
    Go to Solution.
    Attachments:
    Open file test.vi ‏34 KB

    The cancel button gives you error code 43 (if I remember correctly). After your file vi's, use the general error handler (GEH) to clear this error (and no other errors). Use
    [exception action]=Cancle Error on Match
    [exception code]=43
    type of dialog=no dialog
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • Stop a script process with a "Cancel" button

    Hi,
    I display a progress bar with a "Cancel" button while the  script is running. I can stop the script by pressing the "Esc" key but I  would like to stop the script process with the "Cancel" button. What  kind of command/event can I add to the button for doing this ?
    Thanks

    -> Update All your Firefox Plugins
    * https://www.mozilla.org/en-US/plugincheck/
    * '''When Downloading Plugins Update setup files, Remove Checkmark from Downloading other Optional Softwares with your Plugins (e.g. Toolbars, McAfee, Google Chrome, etc.)'''
    * Restart Firefox
    Check and tell if its working.

  • ListOfValues Cancel button creates memory leak

    I believe one nuance of the listOfValues element (in an LOV page) gives rise to a memory leak. The examples and listOfValues documentation shows storing data needed by listOfValues events in the session. This is all fine and good if the user clicks on the "Select" button, as you get both a lovSelect and lovUpdate event to work with and clean out session data. But in the case of a user clicking the "Cancel" button, no event is fired, nor is a forward to another DataAction done. The window is simply closed. This strands all the data for the LOV (which could be quite sizable) in the user's session. You can't send this data on the request, because the LOV data must exist across several requests.
    Am I completely missing something? How does one clean out a user's session when the Cancel button is clicked on a listOfValues component?
    Brad

    I am using JDeveloper 9.0.5.2. The restrictions of the project prevent using a newer version of JDeveloper. I am using ADF/Struts, and pure UIX (no JSPS).
    The functionality I am speaking of is the standard behavior of the <listOfValues> component (lov for short). The lov component generates events for various behaviors (lovFilter, lovUpdate, loveSelect, etc.). It also completely encapsulates the Cancel and Select buttons, so you have no direct access to those. In order to manage an lov web page (presumably launched from an <lovInput> component on a previous page), the events need access to a certain collection of data (data for the table, max size, starting row, selection, validity, etc.). Because use of the lov page will result in potentially multiple submits, the request is not a good place to store this data, as the data needs to persist for the life of the lov page.
    If you look at some of the lovInput/listOfValues examples on the OTN, you'll see that this data is persisted in the user's session. In and of itself, this is fine.
    The problem is introduced by the fact that the lov's Cancel button (or window close) does not generate any events, and you don't have direct access to those controls to add an event of your own. When the cancel button is clicked, the window just closes, and in the words of the lov documentation "no other events occur."
    This is very problematic -- your session is still stuffed full of data to support the lov. I am looking for a way to remove that data.
    Frank -- in your post, you say:
    "why can't you add an event to clean the session from the data?"
    If you know how to add such an event -- one that fires when the Cancel button is clicked, please enlighten me. I would greatly appreciate it!
    Thanks,
    Brad

  • InputListofValue PopUp window CANCEL button event capture ?

    HI All ,
    Jdeveloper version 11.X.6.
    i have explained the outline of issue below:
    User enter some data on InpuLIstOfValue text field and click on the maginfied Glass, the pop opens and selects some data and click 'OK' ,it will display appropriately on below fields.
    but if user enters the wrong data on InpuLIstOfValue text field and clicks on maginfier Glass,no results found on the popup window, so upon click of "CANCEL" button on popup window ,
    is there any way to remove the old data on InpuLIstOfValue Filed ?
    Basicaly i am looking for the capturing the CANCEL button event on the popUpwindow ,based on event status .
    PLase let us know if any hints ?
    Thanks

    Step by step:
    1. Create the converter class:
    package view.converters;
    import java.util.Collection;
    import java.util.Collections;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.convert.Converter;
    import org.apache.myfaces.trinidad.convert.ClientConverter;
    import org.apache.commons.lang.StringUtils;
    public class LOVConverter implements Converter, ClientConverter {
      public Object getAsObject(FacesContext facesContext, UIComponent uiComponent, String value) {
        if (StringUtils.isBlank(value)) {
          // cancel event was triggered, so do something
        return value; // if value is not an instance of String you need to convert it to its primary type (Number, Date, String, etc)
      public String getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
        if (value == null || /* value is empty in its primary type */) {
          // cancel event was triggered, so do something
        return value.toString();
      public String getClientLibrarySource(FacesContext facesContext)
        return null;
      public Collection<String> getClientImportNames()
        return Collections.emptySet();
      public String getClientScript(FacesContext facesContext, UIComponent uiComponent)
        return null;
      public String getClientConversion(FacesContext facesContext, UIComponent uiComponent)
        return null;
    }2. Declare the converter in faces-config.xml:
    <converter>
      <converter-id>LOVConverter</converter-id>
      <converter-class>view.converters.LOVConverter</converter-class>
    </converter>3. Your inputListOfValues should look like this (see the property converter="LOVConverter"):
    <af:inputListOfValues popupTitle="Search"
                          value="#{row.bindings.DepartmentId.inputValue}"
                          model="#{row.bindings.DepartmentId.listOfValuesModel}"
                          required="#{bindings.EmployeesView1.hints.DepartmentId.mandatory}"
                          columns="#{bindings.EmployeesView1.hints.DepartmentId.displayWidth}"
                          shortDesc="#{bindings.EmployeesView1.hints.DepartmentId.tooltip}"
                          converter="LOVConverter"
                          id="ilov1">After that, when the user clicks the Cancel button, both methods (getAsObject and getAsString) should be invoked, and then you would be able to reset the component value (using uiComponent parameter).
    AP

  • Compressor QMaster Sharing has no OK Cancel button

    Compressor 4 > Apple Qmaster > Compressor > Options button has no OK or Cancel button. Clicking on them does nothing. Clicking Enter works as OK though.
    I tossed the following preferences in username>Library>Preferences:
    com.apple.Compressor.plist
    jobcontoller/com.apple.compressor.cluster.admin.plist
    and starting Compressor again shows no change.
    Any Idea how to fix this?

    MacPro 2008 8 core 8GB RAM ATI Radeon 5770 (upgrade for FCPX compatibility)
    MacBookPro 15" early 2008 2GB RAM nVidia GeForce 8600M GT
    The only issue is those two buttons which are inoperable but the keyboard commands work for them so only functionality of the buttons and not the actual control, is impacted.
    So for the Digital Rebellion Removal tool is not working as it gives me a permissioins error when attempting to remove Compressor (Permission are repaired). I'd have to look at the directory it's pointing to an alter manually. Only check on MacPro so far. I should mention that I had previously manually removed and reinstalled the entire FCPX suite of three products and that had no impact.
    Personally, that it's impacting two computers with two different OSs, indicates that there may be a common 3rd party program that's having an impact.
    As to QT codecs, Perian, Flip4Mac. Those are so common though that others would be reporting this issue as well although I can certainly remove both. I can't imagine a QT component impacting two buttons only though.
    The other things these machines have in common are Telestream products Wirecast, ScreenFlow, Episode.
    I'm going to check on a third computer shortly.

  • No Cancel button on parameter screen / panel

    Dear All,
    I am using CR 2010. When running a report, the paramter popup screen(Enter Valuses) doesn't have a Cancel button. I cannot find where to set it up and let it display. Therefore, when user wanted to cancel, they can't do it but to enter all parameters.
    CR XI doesn't have this problem, as the prompt screen is rendered on the the web form and not a pop up prompt.
    Please advise, thanks in advance.
    Lukman

    Hi Lukman,
    Do you mean to say you're using Crystal Reports for Visual Studio 2010?
    See if this thread helps:
    CRVS2010 Beta - close parameter prompt or remove model image
    -Abhilash

  • How to stay back on same section of a report after pressing cancel button

    Hi,
    How we can stay back on a same section of a report page when I press Cancel button or Apply Changes button from linked Data Entry Form. For instance if I have a 200 rows in a report and I scroll down to 80th row and press Edit button when called a data entry form. Now when I press Cancel it again re-load the report from the start of the page.
    Any idea!
    Thanks
    Sabahat

    Hi Sajid,
    Thanks for reply.
    I have used RETURN statement like below.
    SUBMIT RFWT0010 WITH vendor       = 'X'
                     WITH i_lifnr  IN i_lifnr
                     WITH i_bukrs  IN i_kunnr
                     WITH test         = 'X'
                      AND RETURN.
    The output of RFWT0010 is displayed. but on pressing "back" button on toolbar, the flow is coming back  from RFWT0010 to calling report. I want that On pressing ENTER button of keyboard. The flow should come back to calling report.
    Regards,
    Ratnesh

Maybe you are looking for

  • Error in Opening a query after Authorization.

    Dear Experts, in a requirement to restrict the users to access some specific queries only I have created the role and assigned some queries to those role in PFCG. The user is able to see only the authorized queries when he login to BEx Analyzer . Now

  • Problem opening PrE 9 project created on Mac in Windows

    Hi, I recently migrated from a Mac to Windows 7, and am having problems opening my project files on the Windows computer. I created several PrE9 projects on my Mac, but now I need to open some of these files on a PC with Windows 7. I get the error me

  • RFC Receiver adapter issue. Pls advice

    Hi All, When XI is sending data back to R/3 system though RFC Receiver Adapter  I am getting the below error. Any suggestions Error Category   XI_J2EE_ADAPTER_RFC Error Code  RECEIVER_GENERAL_ERROR Pls advice.

  • Comparing vector/waveform scopes between two clips

    Is there a way to bring up the scopes for two separate clips to compare them as one can do in Premiere?  I use the 2-up function often to compare clips visually, but it just does not cut it for some corrections.

  • Hide some types of links in Panel Links.

    Is it possible to add a filter on a list of links (Links Panel)? I add an observer on kDocBoss. In the Update function, I do not know how to retrieve the contents of the list  (kLinksListWidgetID) to hide some types of links. Do you have some ideas.