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

Re: addSubView


  • Subject: Re: addSubView
  • From: Andreas Mayer <email@hidden>
  • Date: Wed, 3 Aug 2005 14:48:22 +0200


Am 03.08.2005 um 14:29 Uhr schrieb Raphael Bartolome:

But how can I set the secondNsview to a defined position?

[mySubview setFrameOrigin:NSMakePoint(x, y)];

I recommend AppKiDo for browsing the Cocoa class documentation: http://homepage.mac.com/aglee/downloads/


but I have no idea why bottom left!?

Because that's the origin of the superview's coordinate system.

http://developer.apple.com/documentation/Cocoa/Conceptual/DrawViews/ index.html


Andreas _______________________________________________ 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: addSubView
      • From: Raphael Bartolome <email@hidden>
References: 
 >addSubView (From: Raphael Bartolome <email@hidden>)

  • Prev by Date: addSubView
  • Next by Date: Re: Concat simply 2 strings for NSString
  • Previous by thread: addSubView
  • Next by thread: Re: addSubView
  • Index(es):
    • Date
    • Thread