🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
1 messages
1 total messages Started by Brian Willoughby Sat, 23 Jan 1993 10:11
Setting NXSplitView position programmatically
#2278
Author: Brian Willoughby
Date: Sat, 23 Jan 1993 10:11
18 lines
1272 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads