Xcode problem with submenu highlighted item

This stuff works in Xcode 3.2 on my 10.6 Air, but not on Xcode 3.1.4 / on my Imac (10.5.8). This code is in an IBAction method that is connected to the menu via IB.
[[mySubMenu highlightedItem] setState:NSOnState];  // ignored, state is not changed.
// or 
[[mySubMenu highlightedItem] tag];  // always returns 0 regardless of actual (int)tag. 
// but this works fine 
[[mySubMenu itemWithTag:myTag)] setState:NSOnState]; // the tag is read properly here, state is changed.
I was assuming that highlightedItem meant "selected item". Is highlightedItem the usual way to detect a menu event ? What is wrong ?

Because you have inline (via the admin) added sizes etc you will see it created inline code. Even switching to a type (CSS HTML ONLY is the one you want) to have a raw html output to CSS style it as you wish you need to go into each menu item and remove any of the style configurations and dimension sizes you added.

Similar Messages

  • I have upgraded Apple Aperture from version 2 to version 3 and I'm having a problem with the "Highlights and Shadows" adjustment. According to the user's manual, I should have access to an advanced disclosure triangle which would allow me to adjust mid co

    I have upgraded Apple Aperture from version 2 to version 3 and I'm having a problem with the "Highlights and Shadows" adjustment. According to the user's manual, I should have access to an advanced disclosure triangle which would allow me to adjust mid contrast, colour, radius, high tonal width and low tonal width.
    If anyone has any suggestions as to how to access this advanced section, I'd be most grateful.

    Hi David-
    The advanced adjustments in the Highlights & Shadows tool were combined into the "Mid Contrast" slider in Aperture 3.3 and later. If you have any images in your library that were processed in a version of Aperture before 3.3, there will be an Upgrade button in the Highlights & Shadows tool in the upper right, and the controls you asked about under the Advanced section. Clicking the Upgrade button will re-render the photo using the new version of Highlights & Shadows, and the Advanced section will be replaced with the new Mid Contrast slider. With the new version from 3.3 you probably don't need the Advanced slider, but if you want to use the older version you can download it from this page:
    http://www.apertureexpert.com/tips/2012/6/12/reclaim-the-legacy-highlights-shado ws-adjustment-in-aperture.html

  • Problems with using highlighting feature in iBooks after updating to ios8. Please help.

    Having problems with highlighting feature in iBooks after updating ios8 to my iPad. Please help!

    I Too am having problems with iBooks highlighting the entire chapter if I touch the right edge of a page.  It overrides my previous highlighting making my studying useles. It's terribly frustrating! iOS 8 has been a big,big problem. Apple has to fix this.  There should be a way to undo it.  It's a terrible mess.

  • Problem with customer open items. Transaction FBL5N and F-30

    Hi all,
    I have a little problem with a customer.
    When I see transaction FBL5N, I can see 3 open items, but, when I go to clear then in F-30, no appears.
    Anybody can help me.
    Thanks in advance

    Hi all,
    I have solved the problem
    The problem was that exits a proposal where these open items were.
    I have  deleted this proposal, and then, I could create a post with clearing.
    Thanks everybody

  • SpryMenuBar, problems with Submenu

    Hi, everyone,
    I am new to Spry widgets. I am working with CS5.
    I have a problem with the only submenu I want to have for this site (in French). Instead of explaining, I attached a grab. My problme is clearly showing: the border of the submenu is offset on the left.
    How can I fixed that? I went through all possible styles and could not find anything.
    As well, when there are submenus, there generally appear a triangle on the right hand side of my menu to indicate that there is a submenu. How can I disable that?
    Thanks a lot for any suggestion!
    Bruno

    First off, upgrade to Spry version 1.6.1 as per here.
    Then replace the red coloured value to something that suits your menu
    ul.MenuBarHorizontal ul
         margin: 0;
         padding: 0;
         list-style-type: none;
         font-size: 10px;
         font-weight: normal;
         z-index: 1020;
         cursor: default;
         width: 48em;
         position: absolute;
         left: -1000em;
    something like 8em.
    Lastly, you have a problem on line 56 of your code which has no relation to Spry.
    I hope this helps.
    Ben

  • Problem with text/HTML item in 9.0.2

    Hi
    When I add a text item in Portal 9.0.2, the built in HTML editor makes changes to the HTML as entered.
    Is there a way to prevent this?
    Regards
    Harry

    Hi
    The changing of relative to absolute is the one that bothers me. I think it also added line breaks, which caused problems with gaps appearing between images.
    The other one I remember is adding <tbody> tags to a table.
    I would prefer it if one could prevent the editor from making any changes in the HTML whatsoever. As an option maybe.
    Is it possible to create a simple HTML item as a shared component that one could drop into any page?
    Regards
    Harry
    What changes are you seeing?
    I know that the editor converts relative links to absolute links (a bug has been logged for this and the issue is mentioned in the release notes).

  • Problem with multiline text item return on query

    Hi there, I am a beginner in ORACLE, here when i write a query i engaged a weird problem,
    LOOP
    FETCH CSR_ODR2 INTO :ORDER_RECORD.OREDER_RECORD_NO,:ORDER_RECORD.BILL_NO,:ORDER_RECORD.ACTUALO_WEIGHT,:ORDER_RECORD.OPERATION,:ORDER_RECORD.PLACE,:ORDER_RECORD.TRANSACTION_DATE,:ORDER_RECORD.ORDER_NO;
    EXIT WHEN CSR_ODR2%NOTFOUND;
    END LOOP;
    this is the cursor version, I also tried SELECT statement, but have trouble about return more than 1 row.
    :Order_Record is a detailed-form with multiline text items,while execute this cursor, it always rewrite the 1st line and wont go to 2nd line, I wanna get some help about how to display different records in different line in a text item.
    btw, i tried next_record,next_item,next_field, but none of them works, the query is based on the record i filled on the master form, and show related record in detailed-form
    Kyle
    Edited by: user12234866 on 13-Jun-2010 00:32

    DECLARE
    CURSOR CSR_ORDER IS
    SELECT T.ORDER_DATE,T.WEIGHT,T.CUSTOMER,T.DRIVER_NO,T.INVOICE_NO,T.LICENSE_NR_TRUCK,T.PRODUCT,T.PRICE_PER_TON,T.TRAILER_NO
    FROM TRANSPORT_ORDER T
    WHERE T.ORDER_NO=:TRANSPORT_ORDER.ORDER_NO;
    BEGIN
    OPEN CSR_ORDER;
    LOOP
    FETCH CSR_ORDER INTO :TRANSPORT_ORDER.ORDER_DATE,:TRANSPORT_ORDER.WEIGHT,:TRANSPORT_ORDER.CUSTOMER,:TRANSPORT_ORDER.DRIVER_NO,:TRANSPORT_ORDER.INVOICE_NO,:TRANSPORT_ORDER.LICENSE_NR_TRUCK,:TRANSPORT_ORDER.PRODUCT,:TRANSPORT_ORDER.PRICE_PER_TON,:TRANSPORT_ORDER.TRAILER_NO;
    EXIT WHEN CSR_ORDER%NOTFOUND;
    END LOOP;
    END;
    DECLARE
    CURSOR CSR_ODR2 IS
    SELECT O.OREDER_RECORD_NO,O.BILL_NO,O.ACTUALO_WEIGHT,O.OPERATION,O.PLACE,O.TRANSACTION_DATE,O.ORDER_NO
    FROM ORDER_RECORD O
    WHERE O.ORDER_NO=:TRANSPORT_ORDER.ORDER_NO
    ORDER BY OREDER_RECORD_NO asc;
    BEGIN
    OPEN CSR_ODR2;
    GO_BLOCK(':ORDER_RECORD');
    LOOP
    FETCH CSR_ODR2 INTO :ORDER_RECORD.OREDER_RECORD_NO,:ORDER_RECORD.BILL_NO,:ORDER_RECORD.ACTUALO_WEIGHT,:ORDER_RECORD.OPERATION,:ORDER_RECORD.PLACE,:ORDER_RECORD.TRANSACTION_DATE,:ORDER_RECORD.ORDER_NO;
    EXIT WHEN CSR_ODR2%NOTFOUND;
    END LOOP;
    END;
    thats the stuff i wrote here to execute

  • "Problems with downloading purchased items......."

    I am having problems with a couple of recent downloads. It happened once recently with the purchase of 4 individual songs. Somehow they eventually downloaded. Not sure how. Now, this past week, I downloaded 2 individual songs from the itunes music store, with no problem, then purchased an album and got through downloading two songs before I began to get the same "problem" window that I got before. The window would pop up and read, "There were problems downloading purchased items. Please check your connection and try again." That was about it. I have downloaded to my current set up for a long time. I have an external hard drive with about 106G of music on it. I have another couple of gigs left. I have the external set up as my itunes music folder in the advanced preference window, etc. I just can't figure out why this is happening and there is little support from Apple. FAQs are not helping. Anybody have any advice? Thanks, in advance. J

    Hi,
    Open download window - down arrow top right. What does this show? If it shows track name with "error" shown. Select all and delete.
    Now try to see if you can redownload by going itunes store > purchased.
    Jim

  • Problem with Date Picker Item

    Hello,
    I'm using APEX 4.2.2.00.11 and I have a problem with the Date Picker. I can't select any day of the second week of the month (it happens for all months).
    Someone know if there are any reason (and how can I solve it) or is an APEX bug?
    Thank you!

    Hi Chimanzee,
    try for : source value
    to_char(sysdate-7,'DD/MM/RRRR')
    hope this helps.
    Leo

  • OS X Lion Server display problem with menu highlighting and button icons

    I have attached  Grab capture of my screen showing the problems with the window top bars and button icons. This happened after a routine security update.
    Does anyone have an idea how to fix this?
    Thanks
    George Harrison

    I have/had the same problem. Comparible setup running Lion Server GM. The natd service fires off the InternetSharing service from the prefspane instead of the regular natd service. This is verifiable by entries in the system log as well as the lack of the natd process running. Below are my findings from research/experimentation; please understand that this is what I have done to get it working, it is DEFINITELY not best practices and I'm sure not supported by Apple. I'm just conveying what I think is happening and how I dealt with it.
    Natd - Executing the binary referenced in the launchctl job directly launches the InternetSharing service on Lion server. This does NOT act this way in SL server, where it works as expected. Replacing the Lion binaries with The SL ones results in natd working as expected: nat_start and nat_stop in /usr/libexec. In short, if you replace the Lion binaries with the ones from SL, it-s a drop-in fix. Natd isn't your only problem though...
    Dns/named - It appears that Apple has limited named to binding on the loopback adapter only by default on Lion. Adding a listen-on clause to named.conf with the appropriate bindings will fix this. I'm assuming you're running natd, named and dhcpd on the same box...
    Dhcpd - Works fine. It appears broken only because the InternetSharing service is replacing natd (why?!?) and it has a built-in dhcpd server (dumbed down 192.168.2.0 subnet). Once you fix natd, this runs as expected.
    Firewall/ipfw - Gotta have this running so that natd will do translation. Remember to open the dhcp ports to allow the clients to get leases...
    I hope this helps, I'm sticking with SL until these issues are worked out...

  • HT1725 I having problem with my download items that I purchase off itune

    I having issue with download the items i have purchase on itune website

    If you have a bad cell signal that can happen.

  • I am having problems with down loading items on Adobe Reader and have been told that I need to update my Adobe Reader. I have tried this but I am being told that I need to temporarily disable Firefox to do this?

    How do I disable Firefox to download Adobe Reader

    There may be a problem with the cookies that stores the "remember me" details. Try deleting cookies for live.com (including account.live.com and login.live.com cookies), for details on doing that see the [[Deleting cookies]] article.

  • Problem with a rendered item in a DataGrid column

    Problem I have numerical data stored in an xml file. I want
    to use that data in an item renderd with in a DatagridColumn. I can
    retrieve the data as text, but can't use it as a numeric. I'm
    passing the data to a PrgessBar I can't access a function in a
    Script I get a message that the method is undefined, I haven't
    found a way to convert the text to a numeric yet.
    Thanks for the help

    I wonder if this can be overcome using data binding. There is
    default binding behavior you can set up, but if you are using
    custom classes perhaps some of the more advanced binding techniques
    would work.
    These FB 2.0.1 help topics (or via LiveDocs) might help:
    Defining bindings in ActionScript
    Defining binding watchers

  • Problem with submenu

    can anyone please help me over how to write submenu code in struts.

    Can you please expand your problem a little bit. If you are talking about javascript menus, then it has nothing to do with Struts. You can find a lot of ready to use scripts to create menus like here ...

  • Problem with Purchase Contract Item Price - 2lis_02_itm

    Hello !
    I used 2lis_02_itm extractor in order to extract the Purchase contracts (transaction me33k in R/3) with Item Prices. The problem is that the extractor takes the price
    from ekpo table but the Contract item prices exist in konp table and its very complicate to calculate the net price.
    Somebody know the solution ?
    Thanks In advance,
    MM. michal

    Thanks for your answer.
    I found out that all the subtotal1-6 are empty in my extractor.
    If you interest I found in R3 transaction  ME3P
    That update the prices from konp in  EKPO and all my problems solved.
    Again thanks , michal

Maybe you are looking for