• 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
Re: Menu item loses selectedRow?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Menu item loses selectedRow?


  • Subject: Re: Menu item loses selectedRow?
  • From: "I. Savant" <email@hidden>
  • Date: Wed, 30 Aug 2006 16:56:27 -0400


This is nearly impossible to answer since we know little about what, exactly, you're trying to accomplish and you have provided absolutely no code.


At a guess, your selected row problem does not account for the sort order of view in which your rows are displayed. As far as:

"it's following the same code the toolbar item does, yet it doesn't follow it in the same way"

... I'm at a complete loss as to what this is supposed to mean. You're being far too vague for anyone to offer you any real help. I suggest reading the list guidelines, which provides links on how to post good, solid help requests, complete with all the necessary information.

--
I.S.


On Aug 30, 2006, at 4:48 PM, Brian Amerige wrote:

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:
40gmail.com


This email sent to email@hidden

_______________________________________________ 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
References: 
 >Menu item loses selectedRow? (From: Brian Amerige <email@hidden>)

  • Prev by Date: Re: Removing/Adding views in drawRect:
  • Next by Date: Re: How to create an NSEvent for Option-E?
  • Previous by thread: Menu item loses selectedRow?
  • Next by thread: subviews question
  • Index(es):
    • Date
    • Thread