[iPhone] How to change the type of the displayed when editing a UITextField

Hello,
How can I set the keyboard type of a UITextField to "Phone Pad" without IB?
Message was edited by: TomCarbon

ok found out...
the UITextField has a keyboardType property that can be set to
UIKeyboardTypePhonePad, etc.

Similar Messages

  • How to change Font Type of the Title Text of a JFrame?

    Hi,
    I want to set a different Font Type for the Title text of the titlebar of my JFrame.
    Is it possible? Can anyone show me how if it is?
    Thanks.
    Niteen

    Michael,
    Thanks. It works!
    But there was a problem. I was not using the :-
    JFrame.setDefaultLookAndFeelDecorated(true);
    so I have to use it now.
    Is it possible to do it without the default decorated look and feel? Because the default LNF title bar has too much height and I am cramped for space.
    I know that's no excuse. I tried but it doesn't work.. I am using a extended JFrame like this:-
    class Testing extends JFrame
    public Testing()
    setSize(300,100);
    setLocation(400,200);
    Container container = getContentPane();
    /* add components to this container here */
    setVisible(true);
    When I use getComponent() for the container, I get an ArrayIndexOutOfBound Exception.
    When I set the argument to getComponent(0), the font in the title bar is not changed.
    What else should I do?
    Thanks.
    Niteen.

  • How to change page type after the fact

    In the application builder, I click on an application and choose Details in View.
    I get the list of pages I have in my app.
    The page type column has:
    Interactive Report
    Navigation Form
    Dynamic HTML
    DML Form
    Chart
    Report
    How do I change this column after a page has long been created?
    Specifically, I want to the change "Dynamic HTML" to something else.
    Why?
    Because on this particular page, tabs do not work (error: page not found).
    Buttons created among a regions items do not work (same error, page not found).
    I need to use tab and buttons to go from this page to other pages.
    And I am suspecting the page type may have something to do with my problem.
    Thanks in advance for any pointers.

    Thanks for your consideration!
    For my current app, a clinical management system,
    I'd like to have, say, 1000 items.
    (For other applications I am thinking about, but have no time,
    nor expertise for now, I'd need millions of items,
    each corresponding to a pixel of a graphic.)
    Who cares if the current computers are too slow?
    How about make it a parameter that can be changed
    per app or per apex installation, and default to 100?
    Some forms can be broken up logically, as people have helpfully suggested,
    and I did follow that advise on some pages.
    But other forms cannot be. People have put a lot of thought on designing
    those forms, they are government or legal standards (or at least something more important
    than computer performance), and people have been trained
    with those original forms.
    Consider the hoops I have to jump through to get more than 100 items
    on a page I am currently working on:
    Generate the items (INPUT type="text" and INPUT type="checkbox") using PLSQL
    lots of htp.p('<INPUT ...>').
    a JavaScript function to collect all the values on the page
    and make up an XML string. submits this string to an application
    process, and application process parses the XML string and does insert or update.
    Another JavaScript to populate the items based on the current values of a row,
    using an application process to retrieve the columns of a row.
    There are about 150 items on this particular page.
    All these are ok, because I was aware of the restriction of 100.
    And because I wanted to generate my own HTML to mimic the original
    form anyway.
    Then things started to go weird.
    I need buttons to go back to another page. and I use tabs.
    Buttons to go back from this page,
    when a button is created with "Create a button in a region position",
    it works fine.
    When a button is created with "Create a button displayed among this region's items",
    it does not work, and I get HTTP 404, https://.../apex/wwv_flow.accept, page cannot be found.
    But I need a button to work like the one created with "Create a button in a region position",
    but displayed like the one created with "Create a button displayed among this region's items".
    This is still not too bad. I saw the difference between the two kinds of buttons.
    I copied the HTML code for the button "Create a button in a region position",
    and used a display only item to create a Back button where I wanted:
    '<table class="t15Button" cellspacing="0" cellpadding="0" border="0"><tr><td class="t15L"><img src="/i/themes/theme_15/button-l.gif"/></td>'||
    '<td class="t15C">Back</td>'||
    '<td class="t15R"><img src="/i/themes/theme_15/button-r.gif"/></td></tr></table>'
    Here P145_BACK holds the page number to which I want this page to go back to.
    Then I noticed that the tabs did not work any more. same error, page not found.
    That's is when I got a little frustrated and posted for help on the forum.
    Then I begin to undo my steps, and
    by lucky accident, I noticed that, if none of the checkboxes is checked,
    the tabs work fine. If at least one is checked, I get this error, page not found.
    My current solution is to add a function of my own in the doSubmit(B) function in file apex_3_1.js,
    which unchecks all checkboxes (o.checked=false).
    And now, from this page of about 150 items,
    the tabs are ok, and I have a button that is similar to one
    created with "Create a button displayed among this region's items", except I created myself
    using HTML.
    I think this trick of using a custom function in doSubmit(), that unchecks or even hides
    INPUT type="text" items (o_div.style.visibility = "hidden"; o_div.style.display = "none";)
    should work in general. this function is only invoked when the user clicks the tab,
    or buttons among a region's items.
    Somebody said regarding restrictions on drugs or sex.....
    you will not make people stop, you just make it harder or more expensive.
    Same here and many other things, a restriction is just making things harder.
    People will try to get around it.
    Now that I have a solution, and I am aware of the problem, I'll calm down and
    go back to my own thing for now.

  • The I cloud on mu IPAd keeps reverting to my old password so that I cannot get mail. Sometimes this happens on my iPhone as well. I type in the correct password in the iCloud account and mail account under settings but it always reverts back and prevents

    The I cloud on mu IPAd keeps reverting to my old password so that I cannot get mail. Sometimes this happens on my iPhone as well. I type in the correct password in the iCloud account and mail account under settings but it always reverts back and preventsme from getting mail. Can only retrieve mail from i cloud on my competer. Thanks!!!

    Why would you delete your iCloud account for a password change with your Yahoo account?
    Regardless, if no problem re-creating your iCloud account on your iPad, contact Yahoo technical support.

  • As an update, I installed an update 5.7on my Mac laptop, now the Lightroom 5.0 has become a "Lightroom Mobile" version.  How can change it back to the laptop version?

    As an update, I installed an update 5.7on my Mac laptop, now the Lightroom 5.0 has become a "Lightroom Mobile" version.  How can change it back to the laptop version 5.7?
    Thanks for any help you can provide.

    LR on your laptop is still a desktop version.  It is just now able to upload to the cloud to replicate photos to either http://lightroom.adobe.com/ or an iPad that has LR Mobile installed.
    I think you probably just want to change the LR 5 identity plate back so it doesn’t mention LR Mobile all the time.  Hover over the identity-plate area, and click on the little triangle that appears, then choose Change Identity Plate.

  • I have different apple ids for my ipad and iphone - how do i sync so that the apps appear on both devices, e.g errands

    I have different apple ids for my ipad and iphone - how do i sync so that the apps appear on both devices, e.g errands

    If both accounts are authorised on the computer's iTunes that you sync them to, and the relevant apps are on that computer, then you should be able to sync them to both devices. The apps will be tied to the account that originally bought/downloaded them, so only that account will be able to download updates to them.
    If you log into the other account on a device and re-download its apps onto them then you risk tying the device to that account for 90 days (and similarly redownloading on a computer's iTunes) : http://support.apple.com/kb/HT4627

  • How to change a setting in the Java Control Panel with command line

    Hi,
    I am trying to figure out how to change a setting in the Java Control Panel with command line or with a script. I want to enable "Use SSL 2.0 compatible ClientHello format"
    I can't seem to find any documentation on how to change settings in the Java Control Panel via the command line
    Edited by: 897133 on Nov 14, 2011 7:15 AM

    OK figured it out. This is for the next person seeking the same solution.
    When you click on the Java Control Panel (found in the Control panel) in any version of Windows, it first looks for a System Wide Java Configuration (found here: C:\Windows\Sun\Java\Deployment). At this point you must be wondering why you don't have this folder (C:\Windows\Sun\Java\Deployment) or why its empty. Well, for an enterprise environment, you have to create it and place something in it - it doesn't exist by default. So you'll need a script (I used Autoit) to create the directory structure and place the the two files into it. The two files are "deployment.properties" and "deployment.config".
    Example: When you click on the Java Control Panel it first checks to see if this directory exists (C:\Windows\Sun\Java\Deployment) and then checks if there is a "deployment.config". If there is one it opens it and reads it. If it doesn't exist, Java creates user settings found here C:\Users\USERNAME\AppData\LocalLow\Sun\Java\Deployment on Windows 7.
    __deployment.config__
    It should look like this inside:
    *#deployment.config*
    *#Mon Nov 14 13:06:38 AST 2011*
    *# The First line below specifies if this config is mandatory which is simple enough*
    *# The second line just tells Java where to the properties of your Java Configuration*
    *# NOTE: These java settings will be applied to each user file and will overwrite existing ones*
    deployment.system.config.mandatory=True
    deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.properties
    If you look in C:\Users\USERNAME\AppData\LocalLow\Sun\Java\Deployment on Windows 7 for example you will find "deployment.properties". You can use this as your default example and add your settings to it.
    How?
    Easy. If you want to add *"Use SSL 2.0 compatible ClientHello format"*
    Add this line:
    deployment.security.SSLv2Hello=true
    Maybe you want to disable Java update (which is a big problem for enterprises)
    Add these lines:
    deployment.javaws.autodownload=NEVER
    deployment.javaws.autodownload.locked=
    Below is a basic AutoIt script you could use (It compiles the files into the executable. When you compile the script the two Java files must be in the directory you specify in the FileInstall line, which can be anything you choose. It will also create your directory structure):
    #NoTrayIcon
    #RequireAdmin
    #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
    #AutoIt3Wrapper_UseX64=n
    #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
    Func _JavaConfig()
         $ConfigFile_1 = @TempDir & "\deployment.properties"
         $ConfigFile_2 = @TempDir & "\deployment.config"
         FileInstall ("D:\My Documents\Autoit\Java config\deployment.properties", $ConfigFile_1)
    FileInstall ("D:\My Documents\Autoit\Java config\deployment.config", $ConfigFile_2)
         FileCopy($ConfigFile_1, @WindowsDir & "\Sun\Java\Deployment\", 9)
         FileCopy($ConfigFile_2, @WindowsDir & "\Sun\Java\Deployment\", 9)
         Sleep(10000)
         FileDelete(@TempDir & "\deployment.properties")
         FileDelete(@TempDir & "\deployment.config")
    EndFunc
    _JavaConfig()
    Now if you have SCUP and have setup Self Cert for your organization, you just need to create a SCUP update for JRE.
    Edited by: 897133 on Nov 16, 2011 4:53 AM

  • How to find out the type of the value stored in a string variable?

    Hi,
    How do i find out the type of the value stored in a string variable?
    for example,
    I have a string variable str, in which the following type of values wil be stored
    1) Intger
    2) Long
    3) boolean
    4) Char
    Is there any method to find out the type of the value, anything like str.getType()?. Please kindly help me. Thanks in advance.

    Hi All, i'm sorry for the double posting, by mistake it occured.
    Thanks for your replies, i have a string variable str, in which the value is stored and i have another string variable type, in which the type of the value is stored.
    For example,
    String str = "15";
    String type = "Integer";
    Is there any way to verify whether the value stroed in str is of type stored in the variable 'type'. I want to write a method of type boolean, it will throw true of the value stored in str is of type 'type'. Thanks

  • How to find out the type of the object ?

    how would i find out the type of an object reference variable ?
    it would be nice if there was some sort of getType() method that would return a string to tell me the type of the object -- just for testing purposes

    try
    Object.getClass().getName();
    or just
    Object.getClass().toString();
    so something like this in your code:
    Object obj = new Foo();
    System.out.println(""+obj.getClass());
    etc.

  • At times, the type in the bookmarks toolbar as well as the tabs changes to white with a drop shadow on a white background, making it very difficult to read. I do not know what it causing the colors to change. Is there any way to fix this?

    At times, the type in the bookmarks toolbar as well as the tabs changes to white with a drop shadow on a white background, making it very difficult to read. I do not know what it causing the colors to change. Is there any way to fix this?

    quick test based on screendump from your picture
    1: hue & saturation : master sat -100
    2:levels : input white=67
    OK ?

  • How to change a connection with the database in Runtime?

    How to change a connection with the database in Runtime?
    My connection was made using ADF Business component (ApplicationModule).
    ADF Swing.
    JDeveloper Studio 11.1.1.4.0.

    When deploying ADF applications with database connection, you should be using JDBC data sources configured in the weblogic server.
    You could change the JDBC data sources to a different DB instance or location - by changing the JDBC data source and restarting the weblogic server.
    For more details, check
    http://techiecook.wordpress.com/2010/12/02/oracle-weblogic-adf-datasources/
    Thanks,
    Navaneeth

  • How can I enlarge the types in the taskbar?

    I changed my monitor from 22´´ to 27´´ and enlarged the types to 150% in the general windows settings. Photoshop and other adobe programs does not take this settings, the taskbar has only very little types, drop-down menue is ok. Are there any settings to enlarge the types in the taskbar?

    I think you are stuck with what you have got for the time being at least.  There are apparently issues with Microsoft that making a similar provision for Windows, to what was done for Apple Retina displays, problematic.  In fact it might not happen at all!  
    That res at 27 inch shouldn't be too bad though.  We have posters here with 14 inch laptops with 3500 pixel wide screens.  Now that would be difficult to use!

  • How to check data type of the field symbol at run time

    Hi,
    My code is as following:
          LOOP AT <fs> ASSIGNING <wa_covp_ext>.
            ASSIGN COMPONENT 86 OF STRUCTURE <wa_covp_ext> TO <f_zzname>.
            IF sy-subrc = 0.
              ASSIGN COMPONENT 158 OF STRUCTURE <wa_covp_ext> TO <f_pernr>.
              IF sy-subrc = 0.
                  SELECT SINGLE sname INTO <f_zzname> FROM pa0001
                                WHERE pernr = <f_pernr>
                                AND endda GE sy-datum
                                AND begda LE sy-datum.
             ENDIF.
          ENDIF.
        ENDLOOP.
    This query is giving dump when <f_zzname> is type P length 8 and decimals 2, because it tries to put PA0001-sname into it which is type C length 30. So I want to check the type of <f_zzname> before the select statement. If it is character 30, then I will write the select statement else not.
    How to check data type of the field symbol at run time? If it's not possible, then can somebody suggest a workaround? Thanks.

    check this ...
    write describe statement  ...
    field-symbols : <f_zzname> .
    data : sname like pa0001-sname,
           typ(10).
    assign sname to  <f_zzname>.
    describe  field <f_zzname> type typ.
    write : typ. <-- typ contains character type in this case ..
    U can check if typ is of character(C) if so .. write the select statement ...

  • Hi, I've been stolen and I need to find my iPhone, how can I do this using the IMEI?

    Hi, I've been stolen and I need to find my iPhone, how can I do this using the IMEI?

    You cannot do this using IMEI.
    If your iPhone, iPad, or iPod touch is lost or stolen - Apple Support
    Report a lost or stolen Apple product - Apple Support

  • How to garantee IDOC types are the same on two communicating sap systems.

    Hi all:
        how to garantee IDOC types are the same on two communicating sap systems,  including segments and versions, using bd64?
        what's more, what bd64 using for besides generating parter profiles,  must we use bd64 for outbound idocs?
        Thank you very much
    best regards ?

    Hi jingying Sony 
    You can compare the Idoc type and Version between Sender System and Reciver System.
    Use TCode SCMP and Compare the Table EDIMSG in Both System.
    This will solve your issue.
    Thanks
    Ramesh

Maybe you are looking for

  • How to get a PDF form message for a license?

    I am attempting to configure a SPF-transaction PDF form for /SAPSLL/LCLICE02 (Letter of Credit transaction).  I have defined the Technical Medium for Messages (PPF) of Licenses and the Condition/Output Parameters for Communication of Licenses.  The A

  • Issue of invoke wf_engine function from web service client.

    hi, I want to update work flow item attribute from web service client through soa gateway. but got the below exception: Error Description Error occured while service was processing. Error Details oracle.apps.fnd.soa.util.SOAException: ServiceProcessi

  • Stopping tiling in a table background image

    I'm trying to stop the tiling of the background image within a table in Dreamweaver 8. It seems to be different then "no-repeat" for the general background. Was hoping someone could help me out. Thanks.

  • Installing RAC on External Network Attached Storage

    Is it possible to use External Network Attached Storage device to install Oracle RAC? It is much cheapter than to buy SAN or other devices.. All I am thinking it buying a External NAS enclosure and put a couple of hard disks in it and use it as NAS t

  • How can I remove greyed out copies of purchased songs on iPhone

    I have tried everything to try to remove these from my phone and I can't seem to get them to go away. Only certain songs do this. They don't show up in the music on my phone, they just seem to take up space and really bother me, and I would really li