• 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
TableView & TextFieldCell question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TableView & TextFieldCell question...


  • Subject: TableView & TextFieldCell question...
  • From: Richard Nichols <email@hidden>
  • Date: Tue, 19 May 2009 11:38:34 -0700

Hello list,

I have an application the contains a single NSTableView with 2 columns that are the default NSTextFieldCell.

Everything is done through delegates, there is no binding.

I use NSMutableAttributedString to format the text and URL data to display in the second column. This works fine.

Now I want the user to be able to click on the URL link and go directly to the site the link points to without being in an 'edit' mode. This should be done with only one click!

Everything seems to work fine except that I am forced to click on the URL link multiple times to get it to work correctly.

So the question is how do I get the NSTextFieldCell to respond to one or two clicks?

I've checked all over the web and there is lots of old, confusing and contradictory information out there and even apple's on documentation isn't very clear.

Can anyone give me and example or point me where I can find the answer?


Thanks,

ran6110

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: NSToolBar : Unable to add a seperator item in the toolBar
  • Next by Date: Re: When init returns nil does it cause a leak
  • Previous by thread: Re: Cocoa event handling in fullscreen
  • Next by thread: [OT] Anyone have the a DIRECT phone number for a real person at Apple Legal???
  • Index(es):
    • Date
    • Thread