Current row/column string value...
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.