• 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
Live feedback
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Live feedback
      • From: Andreas Mayer <email@hidden>
    • Re: Live feedback [Partly solved]
      • From: Jens Bauer <email@hidden>
  • Prev by Date: Re: Printable region and drawRect
  • Next by Date: Re: Live feedback [Partly solved]
  • Previous by thread: [ot] file menu ordering
  • Next by thread: Re: Live feedback [Partly solved]
  • Index(es):
    • Date
    • Thread