• 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: setting up an NSTextView manually
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting up an NSTextView manually


  • Subject: Re: setting up an NSTextView manually
  • From: Keary Suska <email@hidden>
  • Date: Wed, 27 Jun 2007 17:37:12 -0600
  • Thread-topic: setting up an NSTextView manually

on 6/27/07 1:10 PM, email@hidden purportedly said:

> I've referred to this document :
> http://developer.apple.com/documentation/Cocoa/Conceptual/TextArchitecture/Tas
> ks/AssembleSysByHand.html
>
<snipped assembly-by-hand>
>
> my goal is to set up a text container and text view within a window, that
> doesn't fill the entire window.  When the action that executes this code is
> invoked, the gray background color of the textView fills the entire window.
> However, the text container itself is a 100x100 square at the top left of the
> text view.  Why is the cFrame I'm using being ignored?  What happened to the
> origin?  I expect that since the text container was placed at the top left of
> the window, y increases downward in an NSView.  Any help is greatly
> appreciated.

Are you sure you need to do this? Why aren't you following the instructions
at:

http://developer.apple.com/documentation/Cocoa/Conceptual/TextUILayer/Tasks/
CreateTextViewProg.html#//apple_ref/doc/uid/20000930

instead?

Best,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

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: 
 >setting up an NSTextView manually (From: David Harper <email@hidden>)

  • Prev by Date: CoreData predicate programming
  • Next by Date: Re: NSFormatter interfering with bindings continuous update?
  • Previous by thread: setting up an NSTextView manually
  • Next by thread: Re: setting up an NSTextView manually
  • Index(es):
    • Date
    • Thread