AW: Beginners question: displaying a window ?
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