• 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
Re: Re[2]: Hidden NSSlider
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re[2]: Hidden NSSlider


  • Subject: Re: Re[2]: Hidden NSSlider
  • From: R T <email@hidden>
  • Date: Wed, 6 Apr 2005 18:22:04 -0700 (PDT)
  • Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys

I wrote origionally asking about the NSSlider which
hides under an NSImageView......

Daniel DeCovnick suggested "Click and hold the slider
(in IB)until it gets a deeper shadow, then  drop it
where you want it."

 ....which I was not able to make work.

Then Lance Drake suggected...   "See NSView.h for '-
(void)removeFromSuperview;' and '-
(void)addSubview:(NSView *)aView;'",

.....but before I could try it.

He sent a 2nd email decribing how the stack of views
created in IB ends up in reverse order when used in
XCode.

This solved it for me...
I created what I wanted in IB, an NSSlider on top of
an NSImageView, then selected the NSImageView, cut it
out and pasted it back in. It now appears wrong in IB
but correct in XCode.

Thanks for all the help!
Rick T.

PS Is it safe to assume that what appears right in
XCode will appear right in the final application
produced by this code?




__________________________________
Yahoo! Messenger
Show us what our next emoticon should look like. Join the fun.
http://www.advision.webevents.yahoo.com/emoticontest
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re[3]: Hidden NSSlider
      • From: Lance Drake <email@hidden>
  • Prev by Date: Re: Hiding/Showing Column Of TableView
  • Next by Date: Re: C++ string and UTF8
  • Previous by thread: Re[2]: Hidden NSSlider
  • Next by thread: Re[3]: Hidden NSSlider
  • Index(es):
    • Date
    • Thread