• 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: Reading system preferences?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading system preferences?


  • Subject: Re: Reading system preferences?
  • From: SA Dev <email@hidden>
  • Date: Thu, 7 Jul 2005 12:57:30 -0400


It *would* be nice (if nothing else but for our curiosity) to know what you're trying to accomplish, Jonathan. It seems Cocoa does The Right Thing, but this *is* system-wide, so are you sure this is really what you want to do? IE, isn't it better to let the user change this setting by the usual means (System Preferences)?




On Jul 7, 2005, at 12:05 PM, Sean McBride wrote:

Agreed, your answer to his question was good. But I was wondering _why_
the OP wants to read that particular setting. I mean, it is a setting
that changes the behaviour of scroll bars system wide. So either the
system has to handle this for us, or each and every application has to
do something to support this option.


I assumed that since TextEdit.app responds to changing this option in
Sys Prefs that Cocoa just did the right thing. I just tried popping an
NSTextView in a NIB and it seems that this is the case.



On 2005-07-07 11:49, SA Dev said:


  Not to my knowledge (though I could very well be wrong). I don't
believe this is what the OP was referring to. You can control -
setVerticalLineScroll and -setVerticalPageScroll if that's what
you're thinking about.

The OP asked for the storage location of the System Prefs option,
however, so it was in answer to that. Overriding that setting on a
per-app basis (if it's possible) wouldn't be very kind to the user. ;-)




On Jul 7, 2005, at 11:42 AM, Sean McBride wrote:


But doesn't the Cocoa text system handle that setting automatically? TextEdit.app does at least.





-- ____________________________________________________________ Sean McBride, B. Eng email@hidden Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada




_______________________________________________ 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
References: 
 >Reading system preferences? (From: Jonathan del Strother <email@hidden>)
 >Re: Reading system preferences? (From: "Sean McBride" <email@hidden>)
 >Re: Reading system preferences? (From: SA Dev <email@hidden>)
 >Re: Reading system preferences? (From: "Sean McBride" <email@hidden>)

  • Prev by Date: How to bind only on edit?
  • Next by Date: Re: [OT] May a dealer toast a Tiger CD?
  • Previous by thread: Re: Reading system preferences?
  • Next by thread: Re: Reading system preferences?
  • Index(es):
    • Date
    • Thread