Namaste!
Back so soon...
:)
OK, I took a look a what you have and have some questions.
And, well, h...
I'M A DOPE!! :D
No questions!
The reason for that is I was under the extremely mistaken impression
that I couldn't load the ImageView from a simple path via a binding.
I took a lo
Great! Thanks!
I'll take a look at at it.
I'm still a Windows guy. Actually, I'm becoming dual-platform. Now
that's a scary thought (but quite marketable if need be). But you are
probably not in the Maryland area, are ya?
Appreciate the help, I'll grab that zip now.
Peace, Love, and L
Jon,
I'm not sure I understand the whole problem here, but from your
initial message I put together a simple demo project that will take
the input value from a text field and use that as the path for an
NSImageView. It does it on the fly (e.g. as you type). Here is the
demo project:
htt
Namaste!
OK, I've been playing around with this for too long now...
NOTHING gets called when text in a control is set via code or a
mechanism other than strict keyboard/mouse entry by the user from what
I can determine. This, in a word, is not good.
I've set up an observer, delegates, and
My example wasn't, strictly speaking, KVO. To set up an observer you
would need to do something like the following
@interface
MYController : NSObject
{
IBOutlet NSTextField *imagePath;
}
@end
@implementation
- (id) init
{
self = [super init];
if (self)
{
In continuance...
Alright, so it isn't strictly KVO...:) But it looks like it...:)
Anyway, is there a way to know when the "stuff" in the cell changes?
Most everything I can find is relative to when the user interacts with
the control. But I can't find anything, as yet, for when the user
In response to all the responses...
This "monitoring" needs to happen whether the user types in a field,
or, there is a choice made via NSOpenPanel, or the record is scrolled
(meaning moved next, moved previous).
So, using the beginning of the KVO below (which is the route I
suspected I'd
Something like this should get you in the ballpark
MyController : NSObject
{
IBOutlet NSTextField*imagePathField;
IBOutlet NSImageView*imageView;
}
// register controller to receive messages from the text field
- (void) awakeFromNib
{
[imagePathField setDe
[EMAIL PROTECTED] ([EMAIL PROTECTED]) on 2008-12-03 10:23 PM said:
>I'm struggling with how to load an image into an NSImage via another
>field's value.
>
>I have a field that contains a path & name of an image file. The user
>can type it in or select it via OpenFile sheet. This works just fine