[iPhone] Display text on a tool bar programmatically

Hi,
I'm adding a toolbar on the bottow of my view programmatically so I can update what button is available depending on the current context.
And I would like to have a status text show in that toolbar (such as "loading...", "computing...", ... with an activity indicator).
A good example of the way I want it to be is the Mail application. Its toolbar shows the last update date between two buttons...
I've seen some code sample on internet doing something similar using a toolbar button and modifying its title... but sounds like a hack... and the text is different and it can be tapped.
Another way I thought of would be to add a label to the superview of the toolbar so that the text appears on top of the toolbar...
Is there any nicer way to do this?
Thank you!
Message was edited by: TomCarbon

Hi,
I just did it with IB but it should be the same programmatically.
In IB you can't get a UILabel part of a UIToolBar Gadgets.
So I dragged a UIView into the UIToolBar, I set the background to transparent and I dropped a UILabel into the UIView, and voilà
Hope this helps

Similar Messages

  • Regarding list display + button on application tool bar

    Hi guru's
    I have a requirement like i need to select one particular record in the list display and prees on the button which is placed on the application tool bar.Then i should get one more screen where i can enter some details.
    As per my knowledge it is possible only in grid display.
    Kindly let me know if it is possible.
    It would be great help if sample coding is provided.

    Hi Ajay,
                You can do this in alv list display also.
    Copy the standard gui status in ur program using tcode SE51->user interface>copy->target prog name.activate it
    and add a button there.Use FM <b>'REUSE_ALV_EVENTS_GET'</b> to get user-command event.
    sample code :
    form Z8_EVENTCAT  using    p_i_eventcat TYPE SLIS_T_EVENT.
    DATA : L_EVENT TYPE SLIS_ALV_EVENT.
    FOR GETTING ALL 17 EVENTS
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
    EXPORTING
       I_LIST_TYPE           = 0
    IMPORTING
       ET_EVENTS             = P_I_EVENTCAT
    EXCEPTIONS
       LIST_TYPE_WRONG       = 1
       OTHERS                = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CLEAR L_EVENT.
    READ TABLE P_I_EVENTCAT WITH KEY NAME = SLIS_EV_PF_STATUS_SET INTO L_EVENT.
    IF SY-SUBRC = 0.
    MOVE 'Z8_PF_STATUS' TO L_EVENT-FORM.
    APPEND L_EVENT TO P_I_EVENTCAT.
    ENDIF.
    CLEAR L_EVENT.
    READ TABLE P_I_EVENTCAT WITH KEY NAME = SLIS_EV_USER_COMMAND INTO L_EVENT.
    IF SY-SUBRC = 0.
    MOVE 'Z8_USER_COMMAND' TO L_EVENT-FORM.
    APPEND L_EVENT TO P_I_EVENTCAT.
    ENDIF.
    form Z_MENU using p_extab type slis_t_extab.
    SET PF-STATUS 'MENU_LIST'.
    endform.                    " Z_MENU
    form z8_user_command using p_ucomm type sy-ucomm
                               p_selfield type slis_selfield.
      case p_ucomm.
      WHEN '&IC1'.
    call screen 100.
    endcase
    endform.
    Reward points if helpful.
    Regards,
    Hemant

  • How do I get the bookmarks in the bookmarks tool bar to actually display in FF4?

    In V4, when I turn the bookmarks tool bar on as described in the help, Firefox creates a blank row in the tool bar area, but the bookmarks in my toolbar still do not show. I've tried to turn on display of the tool bar through both the Options menu and by right clicking in the tool bar area - both approaches create a blank row in the tool bar area, but neither actually shows the bookmarks stored in the tool bar.

    Answering my own question, I right clicked the empty tool bar, went to Customize, Add New Tool Bar - the bookmarks tool bar suddenly appeared and no new tool bar was added. Clearly there is a glitch in displaying the book marks tool bar, but at least I have it back!

  • I imported my favorites from Internet Explorer but I need to know how to display my "favorites" in the tool bar so I can access and organize them

    I imported my favorites from Internet Explorer, but how do I display "favorites" in the tool bar so I can access and organize them?

    It did merge them after a fashion, glad I took a backup first even if I did only perhaps create 3 or 4 bookmarks today. So if I have bookmark separators, it's going to figure out which group to put them in (no way). Anyway I thought they would just go down to the bottom of the bookmarks menu like the other method, like when I export and import bookmarks in Firefox where they do go to the end of the Bookmarks Menu folder and would simply delete one folder.
    Anyway this would not be typical because I don't want any bookmarks from IE.

  • Kiosk mode with no tool bars or scroll bars

    I have touchscreen information kiosks running Linux.
    I need a browser that will ONLY display the website:
    No tool bars, NO scroll bars ALWAYS running full screen.
    Would it be possible for me, NON programmer to edit config files to achieve this, or do I need a programmer to to write a add-on (There are add-ons, but not for FF 5) that would supposedly do this,
    OR
    Do I need to find a programmer to re-write a browser application that can do it for me?
    The touchscreen website for the kiosks has no keyboard or mouse attached and will ALWAYS ONLY start with a specific index.html page and will NEVER exit the kiosk using a HYPERLINK NOT on the kiosk.

    In Firefox 3.6 on Windows you can hide the menu bar via "View > Toolbars" or via the right click context menu on a toolbar.
    Press and hold the Alt key down to bring up the menu bar.
    Go to "View > Toolbars" or right-click the menu bar or press Alt+V T to select which toolbars to show or hide.
    See also:
    [[Menu bar is missing]]
    [[Back and forward or other toolbar buttons are missing]]

  • Adobe Reader display page and text in tool bar and options too large.  How can this be reduced?

    My Adobe Reader (ver. XI) page for viewing and manipulating docs and the text in tool bar and menus is too large and I cannot reduce its size.   I cannot add but a few functions on the tool bar without them reverting to the drop down.  I have tried uninstalling and reinstalling Adobe XI and that has not helped.  Do not have this problem with other software so I know its not the resolution settings of computer.
    Any way to reduce the size of the "viewing page" and its text?  I can change the size of the doc I am viewing but not the items of the page that displays the doc.
    Thanks.

    Maybe this will help: http://helpx.adobe.com/acrobat/kb/hi-dpi-retina-display-support.html

  • To active Text Formatting function and more tool bars in Adobe LiveCycle Designer 11

    I have an original PDF form need to be edited to a fillable form, I can add Text Field into form as a fillable text field into this PDF form in the Design View, however I can not edit any of the  text , table and several other Objects.  I am an authorized to the Adobe LiveCycle Designer 11 , How can I active my whole tool Bar to edit the PDF file? If the otiginal PDF is locked or read only for the above objects, how can I unlock them?

    Hi,
    if you import a given PDF file into Designer, it is displayed as background artwork in your form.
    Most tools of Designer then will be deactivated.
    There is no way to edit this PDF background in Designer, as the kind of PDF you create with Designer is completely different to the one you create with Acrobat or InDesign.
    You either can edit your PDF in Acrobat or you have to build a new form in Designer from scratch, I believe.

  • Can I enlarge the text in the safari tool bar

    I am operating 10.10.  I would like to use a larger font for the text in the safari tool bar.  I have not problem enlarging the content in the web pages, but I would like to use a larger font on the tool bar. Is that possible, and I how do I do it.
    Thanks.

    Not from any setting in Safari. You can upscale the display in the Display settings.
    Click the Apple in the top left of your main display. Click System Preferences. In 'Display,' make changes. There is no setting to change any font size setting in Safari, aside from the page display font size in Safari.

  • Richtextbox tools bar menu is not display for Firefox and chrome. Any idea why this is happening?

    Hello,
    I have added RichTextField in custom webpart. I have added tag like below
    <SharePoint:InputFormTextBox ID="RichTextField1" runat="server" TextMode="MultiLine" RichTextMode="FullHtml" Columns="20" Rows="10" RichText="true"  />
    We are able to see Richtextbox tools bar menu in IE browser but it's not working for other browser like chrome and Firefox.
    Can anyone suggest us why this is happening?
    Any help would be appreciable.
    Thanks,
    Lovkesh Patel

    Hi,
    According to your description, my understanding is that the richtextbox tool bar menu not display in non_IE browser.
    The richtext box not supported in Non-IE browser, it leads to the issue.
    Here are some similar thread for your reference:
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/c6482efb-72e1-4536-a3cb-153d838744a4/sharepoint-rich-text-editor-not-working-in-firefox-and-chrome
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/8133e762-d996-4672-a176-aa37f45c46c0/sharepoint-text-control-with-rich-text-edit-tools-on-ribbon
    Best Regards
    Jerry Guo
    TechNet Community Support

  • Display of push button in the application tool bar in an ALV report

    Hello everyone,
    Query:
    Is it possible to display a custom push button in the application tool bar while displaying an ALV report(1st one)?
    On pressing this custom push button will I be able to display another ALV report(2nd one) based on the selection made on the current ALV report(1st one)?

    Hiii..
    I have written a sample code for You
    <b>"Call the below FunctionModule For Displaying The List
    " And see the bolded line in the Below FunctionModule
    " STANDARD_02 and USER_COMMAND are the subroutine Names</b>
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
       i_callback_program             = sy-repid
       <b>i_callback_pf_status_set       = 'STANDARD_02'</b>
      <b> i_callback_user_command       = 'USER_COMMAND '</b>
       i_structure_name               =  'ZST_SCARR'
       is_layout                      = is_layout
       it_fieldcat                    = gt_fieldcat[]
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      is_sel_hide                    = is_sel_hide
      I_DEFAULT                      = 'X'
      I_SAVE                         = ' '
      IS_VARIANT                     =
       it_events                      = e03_lt_events[]
      IT_EVENT_EXIT                  =
      is_print                       = t
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
      IR_SALV_LIST_ADAPTER           =
      IT_EXCEPT_QINFO                =
      I_SUPPRESS_EMPTY_DATA          = ABAP_FALSE
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
      TABLES
        t_outtab                       = it_scarr
    EXCEPTIONS
       program_error                  = 1
       OTHERS                         = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
       FORM PF_STATUS_SET
    <b>" Here Set A Button In Application Toolbar Using PF- Status</b>
    FORM standard_02 USING  extab TYPE slis_t_extab.
      SET PF-STATUS 'STANDA02' EXCLUDING extab.
    ENDFORM.                    "STANDARD_02
    *&      Form  USER_COMMAND
          text
         -->R_UCOMM    text
         -->RS_SELFIELDtext
    FORM user_command USING r_ucomm LIKE sy-ucomm
                      rs_selfield TYPE slis_selfield.
      CASE r_ucomm.
    <b> "menubutton with functioncode GOTO's Action</b>
        WHEN  'GOTO'.  
          READ TABLE it_scarr INDEX rs_selfield-tabindex. "cursorposit.
          IF sy-subrc = 0.
            WRITE:/ it_scarr-carrid,
                  /  it_scarr-carrname.
          ENDCASE.
    ENDFORM.                    "USER_COMMAND<b></b>
    Hope it helps..
    Regards,
    Simy

  • In the tool bar, is a small window that keeps flashing this: "iPhone is waiting" and "Your (PC) is on fire" Will you please stop it? tyty

    Between 'translate' and 'love' on the tool bar is the little window saying "(1)iPhone is Waiting" and then "Your (PC) is On Fire". This isn't funny or cute or necessary. Why are they allowed to do this? I am using the Babylon translation browser. Will you please remove it? tytyty. livlove

    Try to disable hardware acceleration.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    If disabling hardware acceleration works then check if there is an update available for your graphics display driver.
    Try to toggle some Boolean gfx.font_rendering prefs on the about:config page to disable some features.
    Filter: gfx
    Some to try:
    * set gfx.direct2d.disabled to true to disable Direct2D
    * set gfx.font_rendering.directwrite.use_gdi_table_loading to false.
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold (user set).
    *Preferences can be reset to the default or changed via the right-click context menu.

  • After downloading the latest version of Firefox I am unable to display more than one website at a time in the tool bar at the top of my screen.

    Before I upgrades to your latest version I was able to display many websites at the same time in the tool bar at the top of my screen. Now I can only display one at a time and it is extremely annoying.

    Hello,
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    More information about reinstalling Firefox can be found [https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems?esab=a&s=troubleshooting&r=3&as=s#w_5-reinstall-firefox here].
    <b>WARNING:</b> Do not run Firefox's uninstaller or use a third party remover as part of this process, because that could permanently delete your Firefox data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and saved passwords. <u>These cannot be recovered unless they have been backed up to an external device!</u>
    Please report back to see if this helped you!
    Thank you.

  • Safari tool bar button text

    How can text be added to the tool bar buttons in safari,OSX version 10.10, have managed to get text on mail buttons but not Safari, just makes life easier when you can see what the buttons do.
    Best regards.

    If you forget what a particular button does just hover the cursor over it until it's title appears:

  • Why is one iphone displaying the text messages of the other 2 iphones in my house?

    Why is one iphone displaying the text messages of the other 2 iphones in my house?

    That would be imessage and not text message.
    As stated by sberman, it's because the users are sharing apple id.
    On each devices - settings - message - send&receive- remove or uncheck the apple ids.

  • On an iMac I can't enter any text in safari or Firefox header bar. In all my program's I just have the arrow cursor and can't change to any tools in the tool bars - please help!

    I cant type any text in safari or and in all programs i have the arrow cursor and can't change to any tools in the tool bars - please help!

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

Maybe you are looking for

  • HT5312 How do I add a rescue email to an existing account?!

    I never set up security questions with my account and now it keeps asking for answers. When I try to reset these questions it tells me I need a rescue address. How do I set up a rescue email address on an existing account?!

  • How to delete PSE(personal secure envirounment) in BI 7.0

    Hi all, I have a query regarding PSE in BI 7.0. I want to export and import the portal certificate from BW syatems in to BI 7.0 portal. But when i am going in Tcode STRUSTSSO2 it is asking me " System PSE password" But currently we don have this. IS

  • 8.1 update for iPad Mini, worth it?

    Haven't downloaded it yet because the 8 update slowed everything to a crawl and I was told the only way to get it back in shape was to wipe to factory and then install apps one at a time......how many hours a day do they think I have (I went to the g

  • ?BUG? App Export / Import error with javascript

    Greetings - Anyone have an idea on how to get around this or if I'm doing something wrong? I have a page button to collapse a tree, with a URL Target of: javascript:apex.widget.tree.collapse_all($v(P2130_TREE_ID)); Page and button work fine, have nev

  • BRM proj as webservice does not work

    Hello I am using CE 7.2. I created a BRM project with a decision table and rule set. Everything works fine when I test the rule using sample xml from my NWDS. Now I created WSDL artifact and deployed the project. But in WSNavigator I could not see th