How can I disable edit on a UITextField after editing once

I have a UITextfield and I want to disable editing after the phrase is entered. Basically once I press done on the keyboard I want to disable editing this field again.
Can anyone give me suggestions on how I can do this?
thanks,
Max

UITextField_Name.enabled = FALSE;

Similar Messages

  • How can I disable the session restore feature after I have closed the broweser window myself?

    I don't want to disable ANY other feature at all (e.g. restoring session after a crash), I only want when I close Firefox and restart it to start new on my home page, without any restored tabs whatsoever. I have tried everything on about:config and it won't seem to do the trick.
    This is a big privacy concern and I'm really puzzled why Firefox was programmed this way without an easily accessible option to change it.

    hello kayjay76, this sounds like a problem caused by some sort of adware on your pc. please go to ''firefox > addons > extensions'' & remove any suspicious entries (toolbars, things that you have not installed intentionally, don't know what purpose they serve, etc). also go to the windows control panel / programs and remove all toolbars or potentially unwanted software from there and run a full scan of your system with the security software that you have in place and different other tools like the [http://www.malwarebytes.org/products/malwarebytes_free free version of malwarebytes] & [http://www.bleepingcomputer.com/download/adwcleaner/ adwcleaner].
    [[Remove a toolbar that has taken over your Firefox search or home page]]
    [[Troubleshoot Firefox issues caused by malware]]

  • How can I disable a button ?

    Hi!
    How can I disable the a button ?
    There is a if statement. If it returns a false the button must be disabled.
    Regards
    sas
    Edited by: erdem sas on Jan 15, 2008 3:06 PM
    Edited by: erdem sas on Jan 15, 2008 3:16 PM

    Do it thru its action:
    //Deactivate a button disabling its action
    //You can see it but clicking it does nothing
    wdGetACTION_NAMEAction().setEnabled(false);
    //Get it's funcionality back
    wdGetACTION_NAMEAction().setEnabled(true);
    Or you could hide it using an attribute of type WDVisibility binded to its visible property.
    //Hide it
    wdContext.currentContextElement.setATTRIBUTE(WDVisibility.NONE);
    //and Show it
    wdContext.currentContextElement.setATTRIBUTE(WDVisibility.VISIBLE);
    Regards.
    Julio Herrera.

  • How can I disable guest access on AFP

    I want to securise my access from my Mac to my Ready Nas. In order to access it I need a password wich is good. But if I choose "guest access" I'm able to go through witout the password.
    How can I disable the "Guest access" ?
    Message was edited by: jfmori

    That should be in the NAS setup I'd think.

  • How can I disable window snapping/docking?

    Ever since CS4 came out I feel like I've been less productive in Photoshop due to annoying window dock/snapping.  Windows are constantly sticking and resizing themselves in ways that blocks the work I am trying to do.  Also the main image itself automatically resizes to feet the work space and I find this also an annoyance.  This is my main question:  How can I disable "sticky" windows?
    In fact if there a way to get the old classic skin back that would be great, also...because all the programs in CS4 are missing a handle bar at the top of the window, making it difficult to find a place to click to drag the window around...which also wastes time.  Sometimes the classic skin is visible underneath buttons in graphic glitches..
    Finally, is there a way to disable hardware acceleration completely?  My processor is fast enough that it can complete tasks faster than the latency of accessing the GPU, so hardware acceleration actually slows things down.  Also the hardware code has bugs in it that prevents me from opening massive images (eg, 21600 x 21600 image crashes).

    Edit, preferences. Everything is there to play with

  • How can I disable the auto resizing in NetBeans?

    Hello,
    how can I disable the auto resizing in NetBeans?
    I cannot resize nor displace components due to this automation.

    first what do u mean by auto resizing ? if u mean the layout that automatically aligns itself then ..... if that's yr question then u need to set the layout to null
    if using netbeans then right click on the the mainPanel and setlayout to null if eclipse the frame.getContent.setlayout(null);
    NetBean doesn't have a forum it has mailing list u can subscribe there
    http://www.netbeans.org/servlets/TLogin
    Edited by: raven_roy on Mar 12, 2008 2:58 AM

  • How can I disable mac pro OSX 'spaces' shortcut keys? (i.e. CTL, Right Arrow)

    How can I disable mac pro shortcut keys: CTL right arrow, CTL left arrow, CTL up arrow, CTL down arrow? Currently, they take me from one space to another. (OSX 10.6) Goal is to use these shortcuts for text editing.

    Hi, Simon.
    You can instruct iTunes and iPhoto to save their respective libraries to a different disk, e.g. your second hard drive. You can also move existing libraries for these apps to a drive other than your startup disk.
    See the links concerning moving these libraries cited in the "More ways to save space if you have a spare partition or second hard drive" section of my "Freeing Space on your Mac OS X startup disk" FAQ.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • How can I disable Text Messaging on my Iphone?

    How can I disable Text Messaging on my Iphone -- so I do not receive any texts. I do not have nor currently want an AT&T text plan, and I really don't want to be charged .20 for the text messages that will inevitably be sent my way from friends & coworkers who do not know I don't want texts.
    AT&T had a link only for blocking spam texts, but I don't think this will stop standard SMS texts.
    Anyone do this? Does this involve a call to AT&T. There must be a way to disable it, no?
    Thanks in advance!
    Message was edited by: motifone

    You would have to ask AT&T if they can turn off your text capabilities.

  • How can I disable Podcast in iPhoto

    How can I disable Podcast in iPhoto 6.0.6 or iTunes 7.4?
    I've gone to preferences in iPhoto and set Podcast to manual.
    Podcasts interrupts/stops the iPhoto program several times during a photo editing session.

    I have put the iPhoto Photocasts in Manual. But keep getting the same error message that interrupts the iPhoto program. The Last Check says it was 3 days ago, but it was bringing up the error message today.
    Seams like the last few times I've done the Apple software updates, both iTune and iPhoto have had more problems. I'm running iTunes 7.2.4

  • How can I disable taskbar transparency in windows 8 RTM?

    how can I disable taskbar transparency in windows 8 RTM?

    Seems to me there's very little merit in the colors of the High Contrast themes!  :-)
    Try it this way instead:
    Right-click on the desktop and choose Personalize.
    Select an Aero theme first.
    Save a new named theme with a name something like "Aero Lite"
    Navigate to the following folder and edit the .theme file just created:
    %USERPROFILE%\AppData\Local\Microsoft\Windows\Themes
    Scroll down to the [VisualStyles] section near the bottom.
    Change the Path= filename from Aero.msstyles to AeroLite.msstyles
    In Personalize, go select another theme then this theme again.
    That gives you this:
    Only downside I've seen so far with this is that when dragging and dropping things in File Explorer the icons that appear with the cursor are no longer partially transparent, so you end up have to guess just a little where you're dropping them.
    -Noel
    Detailed how-to in my eBooks:  
    Configure The Windows 7 "To Work" Options
    Configure The Windows 8 "To Work" Options

  • How can i disable Sharepoint 2010 xlviewer link

    Hi,
    I Prepare a report in excel 2010 file and uploaded in the Sharepoint 2010. And i see the report in the xlviewer.
    In the Viewer window top i see the link like this
    ServerName >FolderName > ReportName.xlsx
    How can i disable this link.

    Hi,
    If you want hide the breadcrumb in the xlviewer.aspx page, you can edit the xlviewer.aspx page in
    \14\TEMPLATE\LAYOUTS(backup the page before editing):
    Open the page using SharePoint Designer, under <asp:Content ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" id="m_TitleContent"
    runat="server">, add the following css code:
    <style type=”text/css”>
    .s4-mini-header
    { display:none; }
    </style>
    Xue-Mei Chang

  • CUA - how can I disable child system user record RENAME?

    I have setup CUA.  How can I disable SU01/RENAME from the child system?  If a user is Renamed directly in the child system, the new record is unlocked and can be edited in the child system.  These new records are now out of sync with CUA master data.
    I dont see an option for 'rename' in SCUM.
    Is this how CUA is supposed to work, or can the rename function be disabled?
    Thanks.

    Ben,
    We have installed CUA on solution manager 4.0, the back end (child) system is R3 4.7.
    My CUA SCUM shows seperate tabs for Address and Logon data.
    On the Address tab Ive set everything to global, its a long list.
    On the Logon tab all fields, except for inital password, are set to 'global', inital password is set to 'everywhere', to allow changes directly in the child system.
    Just about everything seems to be working, except this RENAME problem.  The users are greyed out in the child system, the create button doesnt even exist anymore in SU01 in the child system.  Syncing between the CUA and Child systems is working as I expect.
    Any suggestions?
    Thanks for the quick response.

  • How can we disable info area when we're opening query ??

    Dear All,
    It's regarding authorization in query designer.
    I've already created roles .. So if user's opening the query, they can see their authorized query in roles group.
    But ..
    When they're opening the query, they also can search the query by info-area. When they search the query by info-area, they can see all query.
    My question is:
    1. How can we disable the feature to seek the report by info-area ??
    2. Do you know what the authorization is for maintaining part ??
    Regards,
    Niel.

    Hi Niel
    You can try the S_RS_FOLD authorization object.
    Definition
    With this authorization object, you can deactivate the general view of the 'InfoArea' folder. Then only the favorites and roles appear in the BEx open dialog for queries. The view of the InfoAreas is hidden.
    Defined fields
    The object contains a field:
    SUP_FOLDER:  Hide the file view if the field is set to 'True' ('X'). If both 'True' and 'False' is selected ('All Values'), the value 'False' is valid, meaning that the 'InfoAreas' file is not hidden.
    Hope this helps.
    Regards
    Gaurav
    Edited by: Gaurav on Oct 13, 2008 6:01 AM

  • How can i disable the Enter key in JTextArea?

    How can i disable the Enter key in JTextArea?
    When i press Enter key in JTextArea,I hope JTextArea do nothing.
    Thanks!

    HI, I've the same problem;
    uncle_alice solution works fine, but if I paste in textArea a multi-line text,
    this last results on more lines (rows);
    Isn't possible to avoid this?
    Alternatively, how can I disable cut/copy/paste on TextArea?
    Thank you in advance.
    MargNat
    Message was edited by:
    MargNat

  • [SOLVED]How can I disable ehci_hcd kernel module?

    How can I disable ehci_hcd kernel module loading?
    I have up to date archlinux.
    I tried add 'modprobe -r ehci_hcd' to '/etc/rc.local' but this broke net-profiles - ppp connection at bootup(I have USB modem (which of course work with uhci_hcd module) connected).
    I also tried with '/etc/modprobe.d/modprobe.conf' and 'blacklist ehci_hcd' but ehci_hcd still loading at bootup.
    Last edited by amen (2010-01-27 17:48:45)

    bangkok_manouel wrote:http://wiki.archlinux.org/index.php/Rc.conf#Hardware
    Thanks, but:
    1) blacklist module in /etc/rc.conf not work:
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(floppy !snd-pcsp !ehci_hcd)
    2) this not work also:
    MOD_AUTOLOAD="no"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(long_long_list_of_modules_without_ehci_hcd)
    I found solution:
    1) comments 2 lines in /etc/modprobe.d/usb-load-ehci-first.conf
    #install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe --ignore-install ohci_hcd $CMDLINE_OPTS
    #install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe --ignore-install uhci_hcd $CMDLINE_OPTS
    2) and blacklist module ehci_hcd in /etc/rc.conf.

Maybe you are looking for