How to show/hide TOC in CP8

I would like to include a TOC which allows the learner to hide or show it. I added a basic TOC to my project, but don't know how to insert a show/hide function.  Thanks for your help!
Paula

This will only work with a TOC in overlay:
Create a shape button, which you can put on master slides, or time for the rest of the project. It will act as a toggle button to turn TOC on/off.
Create an advanced or a shared action (the last makes it easier to reuse in other projects):
Toggle cpCmndTOCVisible

Similar Messages

  • How to show/hide build in search box in javascript for LightSwitch html clients?

    Hi
    For each collection on content item, there is built-in showSearch button we can add, once the user clicks on the search, a pre-built-in-search-box shows up above the collection so user can search items in the list. How can I show/hide the pre-built-in-search-box
    in javascript?
    Any help will be appreciated
    The built-in showSearch on content item
    The user clicks the search button, and the pre-built-in-search-box shows up to allow user to enter search terms
    jl

    Hi Joe,
    Welcome to Lightswitch forum.
    If you want to show/hide showSearch button, you can execute this line to show the button,
    this.FindControl("showSearch").IsVisible = true;
    Or execute the line below:
    this.FindControl("showSearch").IsVisible = false;
    Please let me know if there is anything that I can do to help.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to Show/hide the UI Elements in a WD Application

    Hi,
    I need to show/hide and control other properties such as required, readonly etc from UI.
    Can somebody please tell me how I can do that as I am able to save and retrieve the fields from another UI, now the need is to apply them once the Application starts.
    Thanks,
    Rachit

    Hi,
    To show/hide UI elements follow below procedure.
    1) define a attribute(VISIBLE in this case) element in the context of type WDUI_VISIBILITY
    2) in the UI element properties(Visible) bind the above attribute with the element you want to make visible/Hide.
    3) call below method to hide the UI element
        wd_context->set_attribute(
         EXPORTING
           name = 'VISIBLE'
           value = cl_wd_uielement=>e_visible-none ).
    4)     wd_context->set_attribute(
         EXPORTING
           name = 'VISIBLE'
           value = cl_wd_uielement=>e_visible-visible ).  for display.
    You have to call these method at the right spot.
    Thanks,
    Sree.
    Edited by: t sree on Oct 16, 2008 3:36 AM

  • How to SHOW/HIDE a dreamweaver layer from a flash button?

    I have almost 2 weeks tying to find a solution for this. Please help...
    -How can you SHOW/HIDE an thml-dreamweaver layer from a flash movie button.
    My html layer name is LAYER1, and my FlashMC botton name is FLBOT1
    Now, what is the actionscript that im suppouse to place in the flash button?
    Please respond, Thanks

    Adobe removed Flash Text and Flash Buttons from CS4 for accessibility reasons.  Flash buttons aren't web friendly.  And if you use this approach, you'll need to work in Flash because DW doesn't write Action Script for you.
    That said, you could do something similar without Flash.
    Pure CSS Disjointed Menu Rollovers
    http://alt-web.com/DEMOS/CSS-Disjointed-Menu-Rollover.shtml
    Pure CSS Disjointed Text Rollovers
    http://alt-web.com/DEMOS/CSS-Disjointed-Text-Rollover.shtml
    Show/Hide Layers with DW behaviors:
    http://www.cbtcafe.com/dreamweaver/showhidelayers/index.html
    Walter Zorn's Tooltips
    http://www.walterzorn.com/tooltip/tooltip_e.htm
    FloatBox Demos
    http://randomous.com/floatbox/demo
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.com/blogspot.com

  • How to show/hide passwords in outlook

    I can show/hide passwords in yahoo but not in outlook. How do I show in outlook

    I'm guessing you can press the little icon to the right of the password field to see the password. I'm using Ubuntu so I don't know what the icon looks like. It should be like a black WiFi signal or something. You should be able to click/hold that to see the password.
    Were you able to show that password before or is this the first time you've tried? You can try to clear the cookies for outlook.com to see if that helps but as far as I know, Windows 8 should be able to show/hide the password.

  • How to show/hide invisible characters in Mac Keynote 6?

    How can I show/hide the invisible characters in Mac Keynote 6?

    we call them non printing characters
    this cant be displayed in Keynote, Keynote is a video based presentation application and does not have many typographic tools.
    The sister application to Keynote is Pages which can show non printing characters so you should use that;
    View > show > invisibles

  • How to show/hide total based on selected column in column selector

    Hello,
    Is there a way to show/hide the total based on what column is selected in the column selector? Or alternatively to hide the total based on the column selected? I'm using OBIEE 10g.
    Basically, I have a pivot table with a handful of row variables and one measure. Then I allow the user to select the column variable. The default is to have nothing, which I have achieved using the hidden/dummy column trick (Re: How to add new columns by using Multiselect However, if my pivot table is set to have a total, I now get 2 columns that are the same. When the user selects any other choice (e.g. gender), I would want to see Male, Female and the total. Something like this:
    Default:
    Count
    East 10
    West 20
    Total 30
    Gender:
    Male Female Total
    Count Count Count
    East 6 4 10
    West 14 6 20
    Total 20 10 30
    Any thoughts?
    Thanks!

    I recommend using view selector instead of column selector

  • How to show/hide a form field?

    Hi all,
    Is it possible to programaticlly show/hide a from input field at runtime?
    best

    You can use javascript to achieve this and following is the code I'm using in one of the forms to hide a field when this form is being opened.
    ..after displaying page...
    declare
    v_id number(10);
    begin
    v_id:=p_session.get_value_as_NUMBER(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_ID',
    p_index => 1
    If v_id is null then
    htp.p('<SCRIPT LANGUAGE="JavaScript">
    function get_index(p_name) {
    var i;
    for (i=1; i<document.forms[0].length; i++){
    if ( document.forms[0].elements.name == p_name) {
    return i;
    var j = get_index("FORM_NAME.DEFAULT.FIELD_NAME.01");
    document.forms[0].elements[j].style.visibility="hidden";
    </SCRIPT>');
    End If;
    -Krishnamurthy

  • How to show/hide individual radio buttons in a single radio button list

    Can I apply javascript to checkboxes in order to show/hide individual radio buttons in a single radio button list?

    Thanks, Niall,
    I'll give it a try . . .
    Yours,
    Robert Anderson
    SWRCB WebSupport
    1001 I Street
    Sacramento, CA 95814
    8th floor 59B
    (916) 341-5950
    [email protected]
    >>> Niall O'Donovan <[email protected]> 8/5/2010 1:47 PM >>>
    Hi,
    Yes, it can be done. You just need to reference the actual button, rather than the radio button group.
    It is best if you name the radio button group AND all of the individual radio buttons.
    If the radio button group was named "myRadioButtons" and the three rb were named "yesRB", "noRB", and "maybeRB". All of this is in the hierarchy.
    Then this script in the click event of the checkbox would work:
    if (this.rawValue == 1)
         myRadioButtons.maybeRB.presence = "hidden";
    else
         myRadioButtons.maybeRB.presence = "visible";
    Hope that helps,
    Niall

  • How to show/hide div based on mysql value

    I have a dataset that has a column 'locked' that is a boolean that I want to use to remove a button on a form.  The idea being that it will be set to 1 after a period of time thus removing the buttun that links to an update form and preventing the data from being changed.  Currently, I have the field linked to a check box at the top of the table.  How do I use this to hide the button (or any other html element for that matter) when set to 1 and show the element when set to 0?  I understand I need to creat a php variable from the mysql boolean and then use a if/else loop to hide/display the html but I don't know how to impliment this?  Thanks for any help offered.
    Here's the code:
    <?php require_once('Connections/testmypms.php'); ?>
    <?php
    $currentPage = $_SERVER["PHP_SELF"];
    $maxRows_spec_rx = 10;
    $pageNum_spec_rx = 0;
    if (isset($_GET['pageNum_spec_rx'])) {
      $pageNum_spec_rx = $_GET['pageNum_spec_rx'];
    $startRow_spec_rx = $pageNum_spec_rx * $maxRows_spec_rx;
    $colname_spec_rx = "1";
    if (isset($_GET['pxID'])) {
      $colname_spec_rx = (get_magic_quotes_gpc()) ? $_GET['pxID'] : addslashes($_GET['pxID']);
    mysql_select_db($database_testmypms, $testmypms);
    $query_spec_rx = sprintf("SELECT spec_rx.spec_rx_id, spec_rx.FK_px_id, DATE_FORMAT(spec_rx.spec_rx_date, '%%d-%%m-%%Y') as formatted_rx_date, spec_rx.FK_user_id, spec_rx.spec_rx_rsph, spec_rx.spec_rx_rcyl, spec_rx.spec_rx_raxis, spec_rx.spec_rx_rhprism, spec_rx.spec_rx_rhprismbase, spec_rx.spec_rx_rvprism, spec_rx.spec_rx_rvprismbase, spec_rx.spec_rx_rnadd, spec_rx.spec_rx_rnhprism, spec_rx.spec_rx_rnhprismbase, spec_rx.spec_rx_rnvprism, spec_rx.spec_rx_rnvprismbase, spec_rx.spec_rx_rintadd, spec_rx.spec_rx_rinthprism, spec_rx.spec_rx_rinthprismbase, spec_rx.spec_rx_rintvprism, spec_rx.spec_rx_rintvprismbase, spec_rx.spec_rx_lsph, spec_rx.spec_rx_lcyl, spec_rx.spec_rx_laxis, spec_rx.spec_rx_lhprism, spec_rx.spec_rx_lhprismbase, spec_rx.spec_rx_lvprism, spec_rx.spec_rx_lvprismbase, spec_rx.spec_rx_lintadd, spec_rx.spec_rx_linthprism, spec_rx.spec_rx_linthprismbase, spec_rx.spec_rx_lintvprism, spec_rx.spec_rx_lintvprismbase, spec_rx.spec_rx_lnadd, spec_rx.spec_rx_lnhprism, spec_rx.spec_rx_lnhprismbase, spec_rx.spec_rx_lnvprism, spec_rx.spec_rx_lnvprismbase, spec_rx.locked, users.user_id, users.user_firstname, users.user_surname FROM spec_rx, users WHERE %s = spec_rx.FK_px_id AND spec_rx.FK_user_id = users.user_id ORDER BY spec_rx.spec_rx_date DESC, spec_rx.spec_rx_id DESC", $colname_spec_rx);
    $query_limit_spec_rx = sprintf("%s LIMIT %d, %d", $query_spec_rx, $startRow_spec_rx, $maxRows_spec_rx);
    $spec_rx = mysql_query($query_limit_spec_rx, $testmypms) or die(mysql_error());
    $row_spec_rx = mysql_fetch_assoc($spec_rx);
    if (isset($_GET['totalRows_spec_rx'])) {
      $totalRows_spec_rx = $_GET['totalRows_spec_rx'];
    } else {
      $all_spec_rx = mysql_query($query_spec_rx);
      $totalRows_spec_rx = mysql_num_rows($all_spec_rx);
    $totalPages_spec_rx = ceil($totalRows_spec_rx/$maxRows_spec_rx)-1;
    $colname_demographics = "1";
    if (isset($_GET['pxID'])) {
      $colname_demographics = (get_magic_quotes_gpc()) ? $_GET['pxID'] : addslashes($_GET['pxID']);
    mysql_select_db($database_testmypms, $testmypms);
    $query_demographics = sprintf("SELECT demographics.px_id, demographics.FK_title_id, demographics.firstname, demographics.surname, DATE_FORMAT(demographics.dob, '%%d-%%m-%%Y') as formatted_dob, title.title_id, title.title FROM demographics, title WHERE %s = demographics.px_id AND demographics.FK_title_id = title.title_id", $colname_demographics);
    $demographics = mysql_query($query_demographics, $testmypms) or die(mysql_error());
    $row_demographics = mysql_fetch_assoc($demographics);
    $totalRows_demographics = mysql_num_rows($demographics);
    $queryString_spec_rx = "";
    if (!empty($_SERVER['QUERY_STRING'])) {
      $params = explode("&", $_SERVER['QUERY_STRING']);
      $newParams = array();
      foreach ($params as $param) {
        if (stristr($param, "pageNum_spec_rx") == false &&
            stristr($param, "totalRows_spec_rx") == false) {
          array_push($newParams, $param);
      if (count($newParams) != 0) {
        $queryString_spec_rx = "&" . htmlentities(implode("&", $newParams));
    $queryString_spec_rx = sprintf("&totalRows_spec_rx=%d%s", $totalRows_spec_rx, $queryString_spec_rx);
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Spec Rx3</title>
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_goToURL() { //v3.0
      var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
      for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
    //-->
    </script>
    </head>
    <body>
    <p>Spec Rx</p>
    <p><?php echo $row_demographics['px_id']; ?></p>
    <p><?php echo $row_demographics['title']; ?> <?php echo $row_demographics['firstname']; ?> <?php echo $row_demographics['surname']; ?> <?php echo $row_demographics['formatted_dob']; ?> </p>
    <p>
      <input name="Add_spec_rx" type="button" id="Add_spec_rx" onClick="MM_goToURL('parent','add_spec_rx.php');return document.MM_returnValue" value="New Rx">
    </p>
    <p> <a href="<?php printf("%s?pageNum_spec_rx=%d%s", $currentPage, max(0, $pageNum_spec_rx - 1), $queryString_spec_rx); ?>">Previous</a> <a href="<?php printf("%s?pageNum_spec_rx=%d%s", $currentPage, min($totalPages_spec_rx, $pageNum_spec_rx + 1), $queryString_spec_rx); ?>">Next</a></p>
    <?php do { ?>
    <table border="1" cellspacing="1" cellpadding="5">
      <tr>
        <td> </td>
        <td><?php echo $row_spec_rx['formatted_rx_date']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_id']; ?></td>
        <td>locked:
        <input <?php if (!(strcmp($row_spec_rx['locked'],1))) {echo "checked";} ?> name="locked" type="checkbox" id="locked" value="1"></td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
      <tr>
        <td> </td>
        <td>Sph</td>
        <td>Cyl</td>
        <td>Axis</td>
        <td>HPrism</td>
        <td>HPrismBase</td>
        <td>VPrism</td>
        <td>VPrismBase</td>
        <td>NrAdd</td>
        <td>NrHPrism </td>
        <td>NrHPrismBase</td>
        <td>NrVPrism</td>
        <td>NrVPrismBase</td>
        <td>IntAdd</td>
        <td>IntHPrism</td>
        <td>IntHPrismBase</td>
        <td>IntVPrism</td>
        <td>IntVPrismBase</td>
      </tr>
      <tr>
        <td>R</td>
        <td><?php echo ($row_spec_rx['spec_rx_rsph']<>null) ? sprintf ("%+4.2f",$row_spec_rx['spec_rx_rsph']) : null; ?></td>
        <td><?php echo ($row_spec_rx['spec_rx_rcyl']<>null) ? sprintf ("%+4.2f",$row_spec_rx['spec_rx_rcyl']) : null; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_raxis']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_rhprism']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_rhprismbase']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_rvprism']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_rvprismbase']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_rnadd']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_rnhprism']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_rnhprismbase']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_rnvprism']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_rnvprismbase']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_rintadd']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_rinthprism']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_rinthprismbase']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_rintvprism']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_rintvprismbase']; ?></td>
      </tr>
      <tr>
        <td>L</td>
        <td><?php echo ($row_spec_rx['spec_rx_lsph']<>null) ? sprintf ("%+4.2f",$row_spec_rx['spec_rx_lsph']) : null; ?></td>
        <td><?php echo ($row_spec_rx['spec_rx_lcyl']<>null) ? sprintf ("%+4.2f",$row_spec_rx['spec_rx_lcyl']) : null; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_laxis']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_lhprism']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_lhprismbase']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_lvprism']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_lvprismbase']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_lnadd']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_lnhprism']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_lnhprismbase']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_lnvprism']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_lnvprismbase']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_lintadd']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_linthprism']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_linthprismbase']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_lintvprism']; ?></td>
        <td><?php echo $row_spec_rx['spec_rx_lintvprismbase']; ?></td>
      </tr>
      <tr>
        <td> </td>
        <td>User ID <?php echo $row_spec_rx['user_id']; ?></td>
        <td><?php echo $row_spec_rx['user_firstname']; ?></td>
        <td><?php echo $row_spec_rx['user_surname']; ?></td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
        <td> </td>
      </tr>
    </table>
    <p> </p>
    <?php } while ($row_spec_rx = mysql_fetch_assoc($spec_rx)); ?>
    <p> </p>
    <p> </p>
    <p> </p>
    </body>
    </html>
    <?php
    mysql_free_result($spec_rx);
    mysql_free_result($demographics);
    ?>

    Thanks for your help, nearly worked but only returned results where the if statement was met ie where locked =0, so I used an additional statement to display something else when when locked=1
    <?php
    if($row_spec_rx['locked'] == 1) {
    echo "button html goes here";
    ?>
    <?php
    if($row_spec_rx['locked'] == 0) {
    echo "something else";
    ?>
    I am sure there must be a more elegant way of doing this!

  • How to show/hide an indesign document in cs4

    Hi all,
    How to hide/show an indesign document in cs4.
    In cs3 , I am doing this using the following code --
    IWindow* docWindow = Utils<IWindowUtils>()->GetFrontDocWindow( docRef.GetDataBase() );
    //Schedule the command to show the layout window of original document in CS3
    InterfacePtr<ICommand> showHideCmd (CmdUtils::CreateCommand( kShowHideWinCmdBoss ));
    InterfacePtr<ICloseWinCmdData > closeWinCmdData (showHideCmd, IID_ICLOSEWINCMDDATA);
    closeWinCmdData->Set( docWindow );
    InterfacePtr<IIntData> iIntData (showHideCmd, IID_IINTDATA);
    iIntData->Set( IWindow::kShow );
    CmdUtils::ScheduleCommand( showHideCmd );
    docWindow->BringToFront();
    In cs4, there is an API kShowHidePresentaitonCmd
    Code that i wrote for CS4 --
    //Schedule the command to show the layout window of original document in CS4IDocumentPresentation* docWindow = Utils<IDocumentUIUtils>()->GetFrontmostPresentationForDocument( docRef.GetDataBase() );
    InterfacePtr<ICommand> showHideCmd (CmdUtils::CreateCommand( kShowHidePresentationCmdBoss ));
    InterfacePtr<IPresentationCmdData> presentationCmdData (showHideCmd, IID_IPRESENTATIONCMDDATA);
    presentationCmdData->Set( docWindow );
    InterfacePtr<IIntData> iIntData (showHideCmd, IID_IINTDATA);
    iIntData->Set( 0 );                                       // What is the parameter that should be passed in the set function. 0 is not working
    ErrorCode result = CmdUtils::ProcessCommand( showHideCmd );
    Hide/show document in cs4 is not working

    ErrorCode ShowHideDocument(IDocumentPresentation*docWindow, int32 nShowHide)
    ErrorCode result = kFailure;
    do
      InterfacePtr<IControlView> controlView (docWindow, UseDefaultIID());
      if(controlView == nil)
         break;
      if(nShowHide == 0)
       controlView->Hide();
      else
       controlView->Show();
      result = kSuccess;
    }while( kFalse );
    return result;
    May be helpful!!

  • Can anyone tell me how to show/hide several layers simultaneously?

    Hello
    Can anyone show me how to  make more than one layer visible or invisible without having to click on each separate layer? - I have more than 100 layers in a drawing, and it is very tedious to keep having to click on each layer individually to hide it or show it. I have just started using Photoshop Elements 13, on an iMac
    Thanks for any advice.

    You can Option click on the eye beside the layer thumbnail icon to hide all but the selected layer(s).
    Option click again to show all the layers.
    Command click to toggle the selected layer visibilty on/off
    To hide multiple layers, select the layers, right click on one the eyes and click on Hide this layer
    Repeat to make the layers visible again.
    You can also click on one the eyes and then drag down or up to hide multiple layers and reverse to make the layers visible.

  • How to show/hide a link column in a report, depending on another column?

    Sorry, thread duplicated.
    Edited by: Andres Vilallave on 14-may-2010 15:31

    Hello,
    I had a situation similar to this. I had NULL selected in the column when I wanted to hide the link. Please find below more explenation:-
    <b>example report </b>
    Interactive Report
    Col1     col2     col3
    1          a1       a2
    2          b1       b2
    -           c1       c2
    -           d1       d2
    -------------------------------------------In the above Report <b><i>col1</i></b> is a link . Upon clicking this, user should will be directed to Page XX
    so, when data in col2 of report is c1 or d1[can be a different display condition, you may want to implement this with CASE or anyother SQL construct] , I selected NULL which will not show the link.
    so, my point is, if the SQL you have in the INTERACTIVE REPORT is creative enough to have NULL in the column, Link is not enabled.
    Hope I got your problem correct.
    Thanks,
    Chaitu.

  • How to show the TOC pane in Webhelp

    I'm using RoboHelp 7 for HTML to produce Webhelp projects.
    I find that whenever I compile the project, once it is embedded in the software application it is intended for, the TOC, Index and Search pane does not display automatically. Instead, there is a "Show" link at the top left of the topic window. When you select it, the pane is displayed.
    The application users are complaining that they can't navigate the help because there is no TOC! It hasn't occurred to them to click on the "Show" link. Is there any way the TOC pane can be made to display automatically?

    It is because of the way your developers are calling the help. They seem to be using direct URLs to the topics. See Calling WebHelp using URLs on my site.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to show/hide status bar programatically in openGL ES app?

    Ok, I started with an openGL ES app and can draw my window where I want to display it.
    However, even though the xib file says <<no status bar>>, when I run my app, I get a status bar with a white background which overlays the top part of my graphics. In my app. I want to use all 320x480 pixels for the background tableau and have no need for a status bar...
    How can I enable or disable this programmatically?
    Thanks!

    The best way to hide the status bar for the life of your program is in Info.plist:
    1) Expand the Resources folder in the Xcode Group & Files tree and open Info.plist;
    2) If you already have a key named "UIStatusBarHidden", continue with step 5;
    3) Ctrl-click in the last row of the Key column and select Add Row from the floating menu;
    4) Copy and Paste UIStatusBarHidden into the edit cell for the new row and hit Return;
    5) Ctrl-click on UIStatusBarHidden and select Value Type->Boolean from the menu;
    6) A check box should now appear in the Value column; check that box;
    7) If unsure about what you've done, close the Info.plist window, select Don't Save, and start over;
    8) Cmd-S (File->Save from the top Xcode menu) to save Info.plist.
    If you want the status bar to return at some point:
    [[UIApplication sharedApplication] setStatusBarHidden:NO animated:YES];
    If you don't wish to change any of your OpenGL files to .m, just wrap the above in an extern C function (e.g. in main.m).
    - Ray

Maybe you are looking for

  • How to call a sp that returns multi_columns from another sp

    Hi, Can anybody help me to solve this problem? I called a sp which returns ename, sal using a weak ref cursor from another sp. Is it possible to do this? or I did something wrong? The error messages are: ERROR at line 1: ORA-00904: invalid column nam

  • Case expression error with a select query in the condition

    Consider the two query below: 1. The first one use a case expression : select case when 3 > (select 1 from dual)*2 then 1 else 0 end from dual 2. The equivalent with a decode expression: select decode(sign(3-(select 1 from dual)*2),1,1,0) from dual T

  • JavaScript, Mootools help anyone?

    Hi all, I'm using the mootools JavaScript library to make the Accordion effect. And I have little expand/collapse characters within my togglers. [+]/[--]. Now this is the code I'm using for my toggler. <div class="toggler"> <div class="toglabel">Rela

  • SSL, 128-bit encryption problem

    Hi I need to establish a connection over SSL with 128-bit encryption from my client application to Active Directory. But when a connection is established I look at the System log and see the cipher strength is only 56. Does anybody have an idea how c

  • How to package DPS Tools for InDesign CC

    Hi, We are using the creative cloud packager to deploy Adobe CC at my College. I tried integrating the DPS tools version 32 for Indesign CC 2014 : http://www.adobe.com/support/downloads/product.jsp?product=182&platform=Macintosh But it doesn't work.