• 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
AW: Beginners question: displaying a window ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: Beginners question: displaying a window ?


  • Subject: AW: Beginners question: displaying a window ?
  • From: "Roger Gilliar" <email@hidden>
  • Date: Sat, 4 Aug 2001 15:06:15 +0200

Hi Ondra,

>>Forget this. Just go to the IB, and drag a 'wire' from the button in the
>>first window to the second window. In the inspector then bind target to
>>makeKeyAndOrderFront:.

Thanks for all the info. There is still on thing I don't understand. The
window size and position is not what I defined in the IB. It seems to
'remeber' the last position and size I set with setFrame: .

>>Incidentally, it's IMHO a bit easier to use NSMakeRect to the
>>NSRectFromString, but it's of course up to you.

You are right. NSMakeRect is easier. I just wasn't aware that such a
function exists.

Regards
Roger


  • Prev by Date: Multiple windows : little bit confused
  • Next by Date: NSTextView and firstResponder
  • Previous by thread: Re: Multiple windows : little bit confused
  • Next by thread: NSTextView and firstResponder
  • Index(es):
    • Date
    • Thread