Live feedback
Live feedback
- Subject: Live feedback
- From: Jens Bauer <email@hidden>
- Date: Tue, 29 Oct 2002 17:34:19 +0100
Hi all,
I've been wondering about how to do live-feedback on controls.
In Interface Builder, I set up a slider, which controls a view
containing the method "setBaseline".
- (IBAction)setBaseline:(id)sender
{
baseline = [sender floatValue];
}
Now, I have a drawRect method in my view as well. I've tried both..
[self setNeedsDisplay:YES];
..and..
[self display];
-but with no result.
Do I need to set a flag in the slider somewhere, to make this work ?
Love,
Jens
_______________________________________________
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.