• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Menu item loses selectedRow?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Menu item loses selectedRow?


  • Subject: Menu item loses selectedRow?
  • From: Brian Amerige <email@hidden>
  • Date: Wed, 30 Aug 2006 16:48:25 -0400

Hi all,

Sorry for the double post, but this is on a separate topic. I have a few menu items which (are supposed to) replicate the functionality of toolbar items I have. Unfortunately, they half-way do that.

For example, one of my menu items moves up a directory in FTP, but for some reason, while it does actually move up, it fails to follow the command I give it to start animating my NSProgressBar. (This is not a logic issue, I've verified that it's following the same code the toolbar item does, yet it doesn't follow it in the same way.)

Another example: one of my menu items "opens" a directory in FTP, but for some reason, while it does actually open, it doesn't open the selected directory (it opens the first in the list, as if it "lost" what the selected Row was), and still doesn't animate the progress bar as instructed.

Any ideas? I mean, I declare the method I want the menu item to call in FirstResponder, connect it in IB, it *is calling the method*, but the code is being interpretted differently.

Brian Amerige
http://extendmac.com
http://cocoaforum.com


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Menu item loses selectedRow?
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Call method from a different file
  • Next by Date: Re: Call method from a different file
  • Previous by thread: Re: Call method from a different file
  • Next by thread: Re: Menu item loses selectedRow?
  • Index(es):
    • Date
    • Thread