home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.programmer
- Path: sparky!uunet!nwnexus!sounds!brianw
- From: BrianW@SoundS.WA.com (Brian Willoughby)
- Subject: Setting NXSplitView position programmatically
- Message-ID: <C1AxMy.L0G@sounds.wa.com>
- Sender: brianw@sounds.wa.com (Brian Willoughby)
- Reply-To: BrianW@SoundS.WA.com
- Organization: Sound Consulting, Bellevue, WA, USA
- Date: Sat, 23 Jan 1993 10:11:21 GMT
- Lines: 18
-
-
- I finally decided to add an NXSplitView to one of my apps. Pretty
- straightforward, actually.
-
- However, I would like to know if there is an easy way to set the position of
- the divider from my program. I'd like to support something I haven't seen in
- ProjectManager, but is supported by Mail.app in Mailboxes, and that is for the
- program to remember the SplitView divider position when starting my app and
- automatically returning it to the same position it had when the app was last
- run.
-
- From reading the docs, its seems like I could set the height of ALL the
- subviews and then call -adjustSubviews to update the divider, but isn't there a
- simpler way other than calling 3 to 5 methods?
- --
- Brian Willoughby Software Design Engineer, BSEE NCSU
- BrianW@SoundS.WA.com Sound Consulting: Software Design and Development
- NeXTmail welcome
-