• 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: Making a scrolling text field.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making a scrolling text field.


  • Subject: Re: Making a scrolling text field.
  • From: Jeremy <email@hidden>
  • Date: Sat, 26 Jan 2008 14:52:58 -0500

Michael,

I know how to sub-class NSScroller, but what functions would I use to set it? And dimensions on the oval?
"How would a car function if it were designed like a computer? Occasionally, executing a maneuver would cause your car to stop and fail and you would have to re-install the engine, and the airbag system would say, 'Are you sure?' before going off." - Katie Hafner



On Jan 25, 2008, at 7:57 AM, Michael Watson wrote:

Subclass NSScroller to perform your own scroller tray, button, and knob drawing. Wrap your NSTextView in an NSScrollView and set the scroll view's scroller to your custom subclass.

Honestly, I'm /really/ disappointed that Apple gave us the HUD panel but not any of their HUD interface elements to go with it. It just makes no sense. Please file an enhancement request!


-- m-s

On 24 Jan, 2008, at 18:51, Jeremy wrote:

Hey,

I am using a HUD panel and don't like the way the aqua scroll bars look in the way I would want it, so I didn't add them. Now I don't know how to make the text field scrollable with a blackish / grayish colored NON-aqua scrollbar? Something like in the movies widget. And without the white background. Sorry to be a bother! Any help would be appreciated!

Jeremy
"How would a car function if it were designed like a computer? Occasionally, executing a maneuver would cause your car to stop and fail and you would have to re-install the engine, and the airbag system would say, 'Are you sure?' before going off." - Katie Hafner



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Making a scrolling text field. (From: Jeremy <email@hidden>)
 >Re: Making a scrolling text field. (From: Michael Watson <email@hidden>)

  • Prev by Date: Re: what does @property (readonly, retain) mean exactly ?
  • Next by Date: Setting a clip mask on a NSView
  • Previous by thread: Re: Making a scrolling text field.
  • Next by thread: NSPopUpButton in toolbar ignoring setEnable: on Leopard
  • Index(es):
    • Date
    • Thread