• 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
Current row/column string value...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Current row/column string value...


  • Subject: Current row/column string value...
  • From: Lukasz Kuczborski <email@hidden>
  • Date: Sun, 03 Mar 2002 14:14:20 +0100

How to get a string value from current row/column...I want to get a path
which is set in my current(selected) row in my Table View. I want to use
this method:

- (BOOL)tableView:(NSTableView *)aTableView shouldSelectRow:(int)rowIndex
{
[preview setImage:[[NSImage alloc] initWithContentsOfFile:***PATH
(STRING VALUE) FROM MY ROW HERE!];
[preview setImageAlignment:NSImageAlignCenter];
[preview setImageScaling:NSScaleProportionally];
[preview setImageFrameStyle:NSImageFrameNone];
[preview setNeedsDisplay:YES];
}

I have 4 coulmns in my table...one is called "path" - my path to file -> i
want to use it's value to set my image in another view..
TIA for any help!

Lukasz
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Current row/column string value...
      • From: David Remahl <email@hidden>
  • Prev by Date: How to identify a menu item?
  • Next by Date: Re: How to identify a menu item?
  • Previous by thread: Re: How to identify a menu item?
  • Next by thread: Re: Current row/column string value...
  • Index(es):
    • Date
    • Thread